summaryrefslogtreecommitdiff
path: root/cut-n-paste/toolbar-editor/egg-toolbar-editor.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-02-06 18:37:29 +0100
committerraveit65 <[email protected]>2018-02-12 13:05:25 +0100
commit98d6a4325bf31f675fc5c34593f27225b365b7b2 (patch)
tree3ebf8f9d8b5eefb5f68bdba4be0c53b0872b2b85 /cut-n-paste/toolbar-editor/egg-toolbar-editor.c
parentead9eac79cae8b2181d6620951e9c41ed257d202 (diff)
downloadeom-98d6a4325bf31f675fc5c34593f27225b365b7b2.tar.bz2
eom-98d6a4325bf31f675fc5c34593f27225b365b7b2.tar.xz
avoid deprecated GtkStock
Diffstat (limited to 'cut-n-paste/toolbar-editor/egg-toolbar-editor.c')
-rw-r--r--cut-n-paste/toolbar-editor/egg-toolbar-editor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cut-n-paste/toolbar-editor/egg-toolbar-editor.c b/cut-n-paste/toolbar-editor/egg-toolbar-editor.c
index 6f144e2..c234093 100644
--- a/cut-n-paste/toolbar-editor/egg-toolbar-editor.c
+++ b/cut-n-paste/toolbar-editor/egg-toolbar-editor.c
@@ -508,8 +508,8 @@ editor_create_item_from_name (EggToolbarEditor *editor,
icon = gtk_image_new_from_icon_name (icon_name,
GTK_ICON_SIZE_LARGE_TOOLBAR);
else
- icon = gtk_image_new_from_stock (stock_id ? stock_id : GTK_STOCK_DND,
- GTK_ICON_SIZE_LARGE_TOOLBAR);
+ icon = gtk_image_new_from_icon_name (stock_id ? stock_id : "gtk-dnd",
+ GTK_ICON_SIZE_LARGE_TOOLBAR);
item_name = g_strdup (name);
collate_key = g_utf8_collate_key (short_label, -1);