diff options
author | monsta <[email protected]> | 2016-01-22 11:52:55 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-01-22 13:53:32 +0300 |
commit | 61fc4065c4cdcb49aeab3a38a9da95a043260f50 (patch) | |
tree | 8635278a4cf2f5a5f7d23581633ffa62852c37ce /mate-dictionary/libgdict/gdict-strategy-chooser.c | |
parent | 386f747d82bdd2607896a1c80dff5dfaaec1aa23 (diff) | |
download | mate-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-strategy-chooser.c')
-rw-r--r-- | mate-dictionary/libgdict/gdict-strategy-chooser.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mate-dictionary/libgdict/gdict-strategy-chooser.c b/mate-dictionary/libgdict/gdict-strategy-chooser.c index 375c2aaf..98467a77 100644 --- a/mate-dictionary/libgdict/gdict-strategy-chooser.c +++ b/mate-dictionary/libgdict/gdict-strategy-chooser.c @@ -358,8 +358,8 @@ gdict_strategy_chooser_constructor (GType type, priv->refresh_button = gtk_button_new (); gtk_button_set_image (GTK_BUTTON (priv->refresh_button), - gtk_image_new_from_stock (GTK_STOCK_REFRESH, - GTK_ICON_SIZE_SMALL_TOOLBAR)); + gtk_image_new_from_icon_name ("view-refresh", + GTK_ICON_SIZE_SMALL_TOOLBAR)); g_signal_connect (priv->refresh_button, "clicked", G_CALLBACK (refresh_button_clicked_cb), chooser); @@ -370,8 +370,8 @@ gdict_strategy_chooser_constructor (GType type, priv->clear_button = gtk_button_new (); gtk_button_set_image (GTK_BUTTON (priv->clear_button), - gtk_image_new_from_stock (GTK_STOCK_CLEAR, - GTK_ICON_SIZE_SMALL_TOOLBAR)); + gtk_image_new_from_icon_name ("edit-clear", + GTK_ICON_SIZE_SMALL_TOOLBAR)); g_signal_connect (priv->clear_button, "clicked", G_CALLBACK (clear_button_clicked_cb), chooser); |