summaryrefslogtreecommitdiff
path: root/src/eom-close-confirmation-dialog.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-04-22 15:48:08 +0200
committerraveit65 <[email protected]>2017-04-22 15:54:16 +0200
commitfbc385974ae55e96c5b8080e4217e9c523f59af5 (patch)
tree80e0d2e351b7677451277a63cc7449d913e5a98f /src/eom-close-confirmation-dialog.c
parent13c6953fb0b9bb25d9fe77d8c4ab85db09cdb449 (diff)
downloadeom-fbc385974ae55e96c5b8080e4217e9c523f59af5.tar.bz2
eom-fbc385974ae55e96c5b8080e4217e9c523f59af5.tar.xz
EomCloseConfirmationDialog: replace deprecated GTK_STOCK_DIALOG_WARNING
Diffstat (limited to 'src/eom-close-confirmation-dialog.c')
-rw-r--r--src/eom-close-confirmation-dialog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eom-close-confirmation-dialog.c b/src/eom-close-confirmation-dialog.c
index 322e805..ba7b4ed 100644
--- a/src/eom-close-confirmation-dialog.c
+++ b/src/eom-close-confirmation-dialog.c
@@ -392,7 +392,7 @@ build_single_img_dialog (EomCloseConfirmationDialog *dlg)
img = EOM_IMAGE (dlg->priv->unsaved_images->data);
/* Image */
- image = gtk_image_new_from_stock (GTK_STOCK_DIALOG_WARNING,
+ image = gtk_image_new_from_icon_name ("dialog-warning",
GTK_ICON_SIZE_DIALOG);
gtk_widget_set_valign (image, GTK_ALIGN_START);
@@ -592,7 +592,7 @@ build_multiple_imgs_dialog (EomCloseConfirmationDialog *dlg)
hbox, TRUE, TRUE, 0);
/* Image */
- image = gtk_image_new_from_stock (GTK_STOCK_DIALOG_WARNING,
+ image = gtk_image_new_from_icon_name ("dialog-warning",
GTK_ICON_SIZE_DIALOG);
gtk_widget_set_valign (image, GTK_ALIGN_START);
gtk_box_pack_start (GTK_BOX (hbox), image, FALSE, FALSE, 0);