aboutsummaryrefslogtreecommitdiffstats
path: root/pbx
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-06-24 02:33:14 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-06-24 02:33:14 +0000
commit3d921418acc5f2b1a55cb201aebf039f03ada2e0 (patch)
tree388bf0d6f75483d9239cfe16e148f7fa7b21070e /pbx
parent6589a68fcb3c59e2e21bf1f3d5811bafbae625d5 (diff)
update to current loader API (bug #4574)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5995 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx')
-rwxr-xr-xpbx/pbx_gtkconsole.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pbx/pbx_gtkconsole.c b/pbx/pbx_gtkconsole.c
index 62443d29e..f17667707 100755
--- a/pbx/pbx_gtkconsole.c
+++ b/pbx/pbx_gtkconsole.c
@@ -264,7 +264,7 @@ static void add_module(void)
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 @@ static int mod_update(void)
}
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));