[Asterisk-cvs] asterisk/pbx pbx_gtkconsole.c,1.17,1.18

kpfleming at lists.digium.com kpfleming at lists.digium.com
Thu Jun 23 22:32:41 CDT 2005


Update of /usr/cvsroot/asterisk/pbx
In directory mongoose.digium.com:/tmp/cvs-serv24507/pbx

Modified Files:
	pbx_gtkconsole.c 
Log Message:
update to current loader API (bug #4574)


Index: pbx_gtkconsole.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx/pbx_gtkconsole.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- pbx_gtkconsole.c	6 Jun 2005 22:12:19 -0000	1.17
+++ pbx_gtkconsole.c	24 Jun 2005 02:33:14 -0000	1.18
@@ -264,7 +264,7 @@
 	gtk_widget_show(filew);
 }
 
-static int add_mod(char *module, char *description, int usecount)
+static int add_mod(const char *module, const char *description, int usecount, const char *like)
 {
 	char use[10];
 	char *pass[4];
@@ -288,7 +288,7 @@
 	}
 	gtk_clist_freeze(GTK_CLIST(modules));
 	gtk_clist_clear(GTK_CLIST(modules));
-	ast_update_module_list(add_mod);
+	ast_update_module_list(add_mod, NULL);
 	if (module)
 		gtk_clist_select_row(GTK_CLIST(modules), gtk_clist_find_row_from_data(GTK_CLIST(modules), module), -1);
 	gtk_clist_thaw(GTK_CLIST(modules));




More information about the svn-commits mailing list