summaryrefslogtreecommitdiff
path: root/gtk/gtktextutil.c
diff options
context:
space:
mode:
authorSoeren Sandmann <sandmann@daimi.au.dk>2003-08-29 19:26:58 +0000
committerSøren Sandmann Pedersen <ssp@src.gnome.org>2003-08-29 19:26:58 +0000
commitce00fa8982bb97bbba775121b700dd35a10e0d04 (patch)
treea50b248beede5e6a71a4062760c76c2e6e9632b2 /gtk/gtktextutil.c
parent24fb8e7d6fc3daaea79a57e7502d23e4e439e62c (diff)
downloadgtk+-ce00fa8982bb97bbba775121b700dd35a10e0d04.tar.gz
Fix use of uninitialized variable.
Fri Aug 29 21:40:01 2003 Soeren Sandmann <sandmann@daimi.au.dk> * 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
Diffstat (limited to 'gtk/gtktextutil.c')
-rw-r--r--gtk/gtktextutil.c2
1 files changed, 1 insertions, 1 deletions
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),