summaryrefslogtreecommitdiff
path: root/mate-dictionary/src
diff options
context:
space:
mode:
Diffstat (limited to 'mate-dictionary/src')
-rw-r--r--mate-dictionary/src/gdict-applet.c5
-rw-r--r--mate-dictionary/src/gdict-sidebar.c4
2 files changed, 4 insertions, 5 deletions
diff --git a/mate-dictionary/src/gdict-applet.c b/mate-dictionary/src/gdict-applet.c
index 3e89c272..726ad85f 100644
--- a/mate-dictionary/src/gdict-applet.c
+++ b/mate-dictionary/src/gdict-applet.c
@@ -575,9 +575,8 @@ gdict_applet_draw (GdictApplet *applet)
priv->image = gtk_image_new ();
gtk_image_set_pixel_size (GTK_IMAGE (priv->image), priv->size - 10);
- gtk_image_set_from_stock (GTK_IMAGE (priv->image),
- GTK_STOCK_MISSING_IMAGE,
- -1);
+ gtk_image_set_from_icon_name (GTK_IMAGE (priv->image),
+ "image-missing", -1);
gtk_box_pack_start (GTK_BOX (hbox), priv->image, FALSE, FALSE, 0);
gtk_widget_show (priv->image);
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);