From f2d17b4d7f558420e9ead5f2d0062ec8b918015b Mon Sep 17 00:00:00 2001 From: compudj Date: Tue, 27 Jan 2004 22:35:48 +0000 Subject: [PATCH] warning fix git-svn-id: http://ltt.polymtl.ca/svn@424 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttv/modules/gui/main/src/callbacks.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- 2.34.1