From ce00fa8982bb97bbba775121b700dd35a10e0d04 Mon Sep 17 00:00:00 2001 From: Soeren Sandmann Date: Fri, 29 Aug 2003 19:26:58 +0000 Subject: Fix use of uninitialized variable. Fri Aug 29 21:40:01 2003 Soeren Sandmann * gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full): Fix use of uninitialized variable. * gtk/gtktextutil.c (_gtk_text_util_append_special_char_menuitems): add const cast to get rid of warning --- gtk/gtktextutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk') diff --git a/gtk/gtktextutil.c b/gtk/gtktextutil.c index 12bf88fa98..0c003f8c36 100644 --- a/gtk/gtktextutil.c +++ b/gtk/gtktextutil.c @@ -104,7 +104,7 @@ _gtk_text_util_append_special_char_menuitems (GtkMenuShell *menushe menuitem = gtk_menu_item_new_with_mnemonic (_(bidi_menu_entries[i].label)); g_object_set_data (G_OBJECT (menuitem), "gtk-unicode-menu-entry", - &bidi_menu_entries[i]); + (gpointer)&bidi_menu_entries[i]); g_signal_connect_data (menuitem, "activate", G_CALLBACK (activate_cb), -- cgit v1.2.1