diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2005-08-31 17:58:55 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-08-31 17:58:55 +0000 |
commit | f4bbe8f0deb8d1c36829acfc791d632d27805f30 (patch) | |
tree | e4a31ea96cd58ccccd9f762d48d6ac320ee826c8 /gtk/gtktextutil.c | |
parent | c09cc89317d222e54e98d4e2e9f2792de13897ec (diff) | |
download | gtk+-f4bbe8f0deb8d1c36829acfc791d632d27805f30.tar.gz |
Also intern static strings passed to g_object_set_data()
Diffstat (limited to 'gtk/gtktextutil.c')
-rw-r--r-- | gtk/gtktextutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktextutil.c b/gtk/gtktextutil.c index 945a561c74..440e30be09 100644 --- a/gtk/gtktextutil.c +++ b/gtk/gtktextutil.c @@ -110,7 +110,7 @@ _gtk_text_util_append_special_char_menuitems (GtkMenuShell *menushe info->data = data; menuitem = gtk_menu_item_new_with_mnemonic (_(bidi_menu_entries[i].label)); - g_object_set_data (G_OBJECT (menuitem), "gtk-unicode-menu-entry", + g_object_set_data (G_OBJECT (menuitem), g_intern_static_string ("gtk-unicode-menu-entry"), (gpointer)&bidi_menu_entries[i]); g_signal_connect_data (menuitem, "activate", |