summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tools/marco-window-demo.c4
-rw-r--r--src/ui/theme-viewer.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/marco-window-demo.c b/src/tools/marco-window-demo.c
index b28e0818..8cfaf952 100644
--- a/src/tools/marco-window-demo.c
+++ b/src/tools/marco-window-demo.c
@@ -516,7 +516,7 @@ splashscreen_cb (gpointer callback_data,
vbox = gtk_vbox_new (FALSE, 0);
- image = gtk_image_new_from_stock (GTK_STOCK_DIALOG_INFO, GTK_ICON_SIZE_DIALOG);
+ image = gtk_image_new_from_icon_name ("dialog-information", GTK_ICON_SIZE_DIALOG);
gtk_box_pack_start (GTK_BOX (vbox), image, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (vbox), focus_label (window), FALSE, FALSE, 0);
@@ -563,7 +563,7 @@ make_dock (int type)
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
set_gtk_window_type (GTK_WINDOW (window), "_NET_WM_WINDOW_TYPE_DOCK");
- image = gtk_image_new_from_stock (GTK_STOCK_DIALOG_INFO, GTK_ICON_SIZE_DIALOG);
+ image = gtk_image_new_from_icon_name ("dialog-information", GTK_ICON_SIZE_DIALOG);
gtk_box_pack_start (GTK_BOX (box), image, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (box), focus_label (window), FALSE, FALSE, 0);
diff --git a/src/ui/theme-viewer.c b/src/ui/theme-viewer.c
index 6bc6953a..0a5e4eb2 100644
--- a/src/ui/theme-viewer.c
+++ b/src/ui/theme-viewer.c
@@ -248,8 +248,8 @@ dialog_contents (void)
update_spacings (vbox, action_area);
label = gtk_label_new (_("This is a sample message in a sample dialog"));
- image = gtk_image_new_from_stock (GTK_STOCK_DIALOG_INFO,
- GTK_ICON_SIZE_DIALOG);
+ image = gtk_image_new_from_icon_name ("dialog-information",
+ GTK_ICON_SIZE_DIALOG);
#if GTK_CHECK_VERSION (3, 0, 0)
gtk_widget_set_halign (image, GTK_ALIGN_CENTER);
gtk_widget_set_valign (image, GTK_ALIGN_START);