aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2011-04-21 08:12:55 +0000
committerAnders Broman <anders.broman@ericsson.com>2011-04-21 08:12:55 +0000
commit0315e063e4267b97fc7716301350af07dd0f2bea (patch)
treebfe964ce7330991aaf2978a50b620fe086d83423
parent73c91d6fa00ac91f98306e285dcc3f6a969c44ab (diff)
Add a cast as there seems to be a problem on some sytems
conversations_table.c: In function `ct_create_popup_menu': conversations_table.c:1938: warning: passing arg 2 of `gtk_action_group_add_actions' discards qualifiers from pointer target type make: *** [libui_a-conversations_table.o] Error 1 svn path=/trunk/; revision=36747
-rw-r--r--gtk/conversations_table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/conversations_table.c b/gtk/conversations_table.c
index 9ae8c0de78..9db49a71d2 100644
--- a/gtk/conversations_table.c
+++ b/gtk/conversations_table.c
@@ -1935,7 +1935,7 @@ ct_create_popup_menu(conversations_table *ct)
gtk_action_group_add_actions (action_group, /* the action group */
conv_filter_menu_entries, /* an array of action descriptions */
G_N_ELEMENTS(conv_filter_menu_entries), /* the number of entries */
- ct); /* data to pass to the action callbacks */
+ (gpointer)ct); /* data to pass to the action callbacks */
ui_manager = gtk_ui_manager_new ();
gtk_ui_manager_insert_action_group (ui_manager, action_group, 0);