summaryrefslogtreecommitdiff
path: root/gtk/gtkmenubar.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2005-08-31 17:58:55 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-08-31 17:58:55 +0000
commitf4bbe8f0deb8d1c36829acfc791d632d27805f30 (patch)
treee4a31ea96cd58ccccd9f762d48d6ac320ee826c8 /gtk/gtkmenubar.c
parentc09cc89317d222e54e98d4e2e9f2792de13897ec (diff)
downloadgtk+-f4bbe8f0deb8d1c36829acfc791d632d27805f30.tar.gz
Also intern static strings passed to g_object_set_data()
Diffstat (limited to 'gtk/gtkmenubar.c')
-rw-r--r--gtk/gtkmenubar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkmenubar.c b/gtk/gtkmenubar.c
index fb6b378c6b..8e9aedc977 100644
--- a/gtk/gtkmenubar.c
+++ b/gtk/gtkmenubar.c
@@ -608,7 +608,7 @@ static void
set_menu_bars (GtkWindow *window,
GList *menubars)
{
- g_object_set_data (G_OBJECT (window), "gtk-menu-bar-list", menubars);
+ g_object_set_data (G_OBJECT (window), g_intern_static_string ("gtk-menu-bar-list"), menubars);
}
static gboolean