summaryrefslogtreecommitdiff
path: root/mate-dictionary/src/gdict-sidebar.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-01-22 11:52:55 +0300
committermonsta <[email protected]>2016-01-22 13:53:32 +0300
commit61fc4065c4cdcb49aeab3a38a9da95a043260f50 (patch)
tree8635278a4cf2f5a5f7d23581633ffa62852c37ce /mate-dictionary/src/gdict-sidebar.c
parent386f747d82bdd2607896a1c80dff5dfaaec1aa23 (diff)
downloadmate-utils-61fc4065c4cdcb49aeab3a38a9da95a043260f50.tar.bz2
mate-utils-61fc4065c4cdcb49aeab3a38a9da95a043260f50.tar.xz
dictionary: use gtk_image_new_from_icon_name in both GTK+ builds
Diffstat (limited to 'mate-dictionary/src/gdict-sidebar.c')
-rw-r--r--mate-dictionary/src/gdict-sidebar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mate-dictionary/src/gdict-sidebar.c b/mate-dictionary/src/gdict-sidebar.c
index 273ac1f6..38828a76 100644
--- a/mate-dictionary/src/gdict-sidebar.c
+++ b/mate-dictionary/src/gdict-sidebar.c
@@ -367,8 +367,8 @@ gdict_sidebar_init (GdictSidebar *sidebar)
close_button = gtk_button_new ();
gtk_button_set_relief (GTK_BUTTON (close_button), GTK_RELIEF_NONE);
gtk_button_set_image (GTK_BUTTON (close_button),
- gtk_image_new_from_stock (GTK_STOCK_CLOSE,
- GTK_ICON_SIZE_SMALL_TOOLBAR));
+ gtk_image_new_from_icon_name ("window-close",
+ GTK_ICON_SIZE_SMALL_TOOLBAR));
g_signal_connect (close_button, "clicked",
G_CALLBACK (gdict_sidebar_close_clicked_cb),
sidebar);