summaryrefslogtreecommitdiff
path: root/cut-n-paste/toolbar-editor/egg-toolbar-editor.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-02-15 01:45:55 +0100
committerraveit65 <[email protected]>2018-02-16 17:22:20 +0100
commit7a91219f5b255783690be32fe6426b8a6c640398 (patch)
treed63211014ecdc0dbbeb8e315b4d6067f9e1e62ac /cut-n-paste/toolbar-editor/egg-toolbar-editor.c
parented3b7f0015cf629a2d7e69f60b166978d6859305 (diff)
downloadatril-7a91219f5b255783690be32fe6426b8a6c640398.tar.bz2
atril-7a91219f5b255783690be32fe6426b8a6c640398.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 f9e3f22f..a52255b5 100644
--- a/cut-n-paste/toolbar-editor/egg-toolbar-editor.c
+++ b/cut-n-paste/toolbar-editor/egg-toolbar-editor.c
@@ -509,8 +509,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);