diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2005-08-31 17:58:55 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-08-31 17:58:55 +0000 |
commit | f4bbe8f0deb8d1c36829acfc791d632d27805f30 (patch) | |
tree | e4a31ea96cd58ccccd9f762d48d6ac320ee826c8 /gtk/gtkiconview.c | |
parent | c09cc89317d222e54e98d4e2e9f2792de13897ec (diff) | |
download | gtk+-f4bbe8f0deb8d1c36829acfc791d632d27805f30.tar.gz |
Also intern static strings passed to g_object_set_data()
Diffstat (limited to 'gtk/gtkiconview.c')
-rw-r--r-- | gtk/gtkiconview.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c index 7d87781877..6d1b962d57 100644 --- a/gtk/gtkiconview.c +++ b/gtk/gtkiconview.c @@ -5579,7 +5579,7 @@ set_status_pending (GdkDragContext *context, GdkDragAction suggested_action) { g_object_set_data (G_OBJECT (context), - "gtk-icon-view-status-pending", + g_intern_static_string ("gtk-icon-view-status-pending"), GINT_TO_POINTER (suggested_action)); } @@ -5627,12 +5627,12 @@ set_source_row (GdkDragContext *context, { if (source_row) g_object_set_data_full (G_OBJECT (context), - "gtk-icon-view-source-row", + g_intern_static_string ("gtk-icon-view-source-row"), gtk_tree_row_reference_new (model, source_row), (GDestroyNotify) gtk_tree_row_reference_free); else g_object_set_data_full (G_OBJECT (context), - "gtk-icon-view-source-row", + g_intern_static_string ("gtk-icon-view-source-row"), NULL, NULL); } @@ -5677,7 +5677,7 @@ set_dest_row (GdkDragContext *context, if (!dest_row) { g_object_set_data_full (G_OBJECT (context), - "gtk-icon-view-dest-row", + g_intern_static_string ("gtk-icon-view-dest-row"), NULL, NULL); return; } @@ -5688,7 +5688,7 @@ set_dest_row (GdkDragContext *context, dr->empty_view_drop = empty_view_drop; dr->drop_append_mode = drop_append_mode; g_object_set_data_full (G_OBJECT (context), - "gtk-icon-view-dest-row", + g_intern_static_string ("gtk-icon-view-dest-row"), dr, (GDestroyNotify) dest_row_free); } |