summaryrefslogtreecommitdiff
path: root/mate-dictionary/libgdict/gdict-defbox.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/libgdict/gdict-defbox.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/libgdict/gdict-defbox.c')
-rw-r--r--mate-dictionary/libgdict/gdict-defbox.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/mate-dictionary/libgdict/gdict-defbox.c b/mate-dictionary/libgdict/gdict-defbox.c
index 8abe0c99..acef2f96 100644
--- a/mate-dictionary/libgdict/gdict-defbox.c
+++ b/mate-dictionary/libgdict/gdict-defbox.c
@@ -1313,8 +1313,8 @@ create_find_pane (GdictDefbox *defbox)
button = gtk_button_new ();
gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE);
gtk_button_set_image (GTK_BUTTON (button),
- gtk_image_new_from_stock (GTK_STOCK_CLOSE,
- GTK_ICON_SIZE_BUTTON));
+ gtk_image_new_from_icon_name ("window-close",
+ GTK_ICON_SIZE_BUTTON));
g_signal_connect (button, "clicked",
G_CALLBACK (close_button_clicked), defbox);
gtk_box_pack_start (GTK_BOX (hbox1), button, FALSE, FALSE, 0);
@@ -1343,16 +1343,16 @@ create_find_pane (GdictDefbox *defbox)
priv->find_prev = gtk_button_new_with_mnemonic (_("_Previous"));
gtk_button_set_image (GTK_BUTTON (priv->find_prev),
- gtk_image_new_from_stock (GTK_STOCK_GO_BACK,
- GTK_ICON_SIZE_MENU));
+ gtk_image_new_from_icon_name ("go-previous",
+ GTK_ICON_SIZE_MENU));
g_signal_connect (priv->find_prev, "clicked",
G_CALLBACK (find_prev_clicked_cb), defbox);
gtk_box_pack_start (GTK_BOX (hbox1), priv->find_prev, FALSE, FALSE, 0);
priv->find_next = gtk_button_new_with_mnemonic (_("_Next"));
gtk_button_set_image (GTK_BUTTON (priv->find_next),
- gtk_image_new_from_stock (GTK_STOCK_GO_FORWARD,
- GTK_ICON_SIZE_MENU));
+ gtk_image_new_from_icon_name ("go-next",
+ GTK_ICON_SIZE_MENU));
g_signal_connect (priv->find_next, "clicked",
G_CALLBACK (find_next_clicked_cb), defbox);
gtk_box_pack_start (GTK_BOX (hbox1), priv->find_next, FALSE, FALSE, 0);