summaryrefslogtreecommitdiff
path: root/gtk/gtkcontainer.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/gtkcontainer.c
parentc09cc89317d222e54e98d4e2e9f2792de13897ec (diff)
downloadgtk+-f4bbe8f0deb8d1c36829acfc791d632d27805f30.tar.gz
Also intern static strings passed to g_object_set_data()
Diffstat (limited to 'gtk/gtkcontainer.c')
-rw-r--r--gtk/gtkcontainer.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c
index 71d791a366..a92a5291e4 100644
--- a/gtk/gtkcontainer.c
+++ b/gtk/gtkcontainer.c
@@ -2072,7 +2072,7 @@ chain_widget_destroyed (GtkWidget *widget,
user_data);
g_object_set_data (G_OBJECT (container),
- "gtk-container-focus-chain",
+ g_intern_static_string ("gtk-container-focus-chain"),
chain);
}
@@ -2129,7 +2129,7 @@ gtk_container_set_focus_chain (GtkContainer *container,
chain = g_list_reverse (chain);
g_object_set_data (G_OBJECT (container),
- "gtk-container-focus-chain",
+ g_intern_static_string ("gtk-container-focus-chain"),
chain);
}
@@ -2188,7 +2188,8 @@ gtk_container_unset_focus_chain (GtkContainer *container)
container->has_focus_chain = FALSE;
- g_object_set_data (G_OBJECT (container), "gtk-container-focus-chain",
+ g_object_set_data (G_OBJECT (container),
+ g_intern_static_string ("gtk-container-focus-chain"),
NULL);
tmp_list = chain;