summaryrefslogtreecommitdiff
path: root/gtk/gtkaction.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/gtkaction.c
parentc09cc89317d222e54e98d4e2e9f2792de13897ec (diff)
downloadgdk-pixbuf-f4bbe8f0deb8d1c36829acfc791d632d27805f30.tar.gz
Also intern static strings passed to g_object_set_data()
Diffstat (limited to 'gtk/gtkaction.c')
-rw-r--r--gtk/gtkaction.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkaction.c b/gtk/gtkaction.c
index 8b694fe39..c4f67d1e5 100644
--- a/gtk/gtkaction.c
+++ b/gtk/gtkaction.c
@@ -798,7 +798,7 @@ connect_proxy (GtkAction *action,
GtkWidget *proxy)
{
g_object_ref (action);
- g_object_set_data_full (G_OBJECT (proxy), "gtk-action", action,
+ g_object_set_data_full (G_OBJECT (proxy), g_intern_static_string ("gtk-action"), action,
g_object_unref);
/* add this widget to the list of proxies */
@@ -982,7 +982,7 @@ static void
disconnect_proxy (GtkAction *action,
GtkWidget *proxy)
{
- g_object_set_data (G_OBJECT (proxy), "gtk-action", NULL);
+ g_object_set_data (G_OBJECT (proxy), g_intern_static_string ("gtk-action"), NULL);
/* remove proxy from list of proxies */
g_signal_handlers_disconnect_by_func (proxy,