From: compudj Date: Tue, 27 Jan 2004 22:35:48 +0000 (+0000) Subject: warning fix X-Git-Tag: v0.12.20~3065 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=f2d17b4d7f558420e9ead5f2d0062ec8b918015b;p=lttv.git warning fix git-svn-id: http://ltt.polymtl.ca/svn@424 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttv/modules/gui/main/src/callbacks.c b/ltt/branches/poly/lttv/modules/gui/main/src/callbacks.c index 6abfd51c..b198bf28 100644 --- a/ltt/branches/poly/lttv/modules/gui/main/src/callbacks.c +++ b/ltt/branches/poly/lttv/modules/gui/main/src/callbacks.c @@ -881,7 +881,8 @@ on_load_module_activate (GtkMenuItem *menuitem, lttv_module_load(str1, mw_data->win_creation_data->argc,mw_data->win_creation_data->argv); else lttv_module_load(str1, 0,NULL); - g_slist_foreach(g_main_window_list, insert_menu_toolbar_item, NULL); + g_slist_foreach(g_main_window_list, (gpointer)insert_menu_toolbar_item, + NULL); g_strfreev(dir); case GTK_RESPONSE_REJECT: case GTK_RESPONSE_CANCEL: