diff options
author | infirit <[email protected]> | 2014-11-25 17:19:11 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-11-25 18:06:06 +0100 |
commit | b8d8e52f0effbf76ff909f88932098d4daf4336e (patch) | |
tree | 5bd3a4c79a2e8e4d7293cf9ed310f554c7f6652a | |
parent | f1c78bf12b539430e2327b83e64a86649ed2faa9 (diff) | |
download | marco-b8d8e52f0effbf76ff909f88932098d4daf4336e.tar.bz2 marco-b8d8e52f0effbf76ff909f88932098d4daf4336e.tar.xz |
Replace gtkstock icon usage
-rw-r--r-- | src/tools/marco-window-demo.c | 4 | ||||
-rw-r--r-- | src/ui/theme-viewer.c | 4 |
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); |