summaryrefslogtreecommitdiff
path: root/gtk/gtkwindow-decorate.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/gtkwindow-decorate.c
parentc09cc89317d222e54e98d4e2e9f2792de13897ec (diff)
downloadgtk+-f4bbe8f0deb8d1c36829acfc791d632d27805f30.tar.gz
Also intern static strings passed to g_object_set_data()
Diffstat (limited to 'gtk/gtkwindow-decorate.c')
-rw-r--r--gtk/gtkwindow-decorate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkwindow-decorate.c b/gtk/gtkwindow-decorate.c
index 60ef4b3278..31dddfe3ff 100644
--- a/gtk/gtkwindow-decorate.c
+++ b/gtk/gtkwindow-decorate.c
@@ -148,7 +148,7 @@ gtk_decorated_window_init (GtkWindow *window)
deco->maximizable = FALSE;
deco->real_inner_move = FALSE;
- g_object_set_data_full (G_OBJECT (window), "gtk-window-decoration", deco,
+ g_object_set_data_full (G_OBJECT (window), g_intern_static_string ("gtk-window-decoration"), deco,
(GDestroyNotify) gtk_decoration_free);
gtk_window_set_has_frame (window, TRUE);