summaryrefslogtreecommitdiff
path: root/gtk/gtkaction.c
diff options
context:
space:
mode:
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 8b694fe399..c4f67d1e50 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,