From ecefd0b3006c7a76e750270bfdd4f22ad3075900 Mon Sep 17 00:00:00 2001 From: monsta Date: Fri, 15 Jan 2016 11:59:08 +0300 Subject: about-me: use gtk_image_new_from_icon_name in both GTK+ builds --- capplets/about-me/mate-about-me-fingerprint.c | 2 +- capplets/about-me/mate-about-me.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/capplets/about-me/mate-about-me-fingerprint.c b/capplets/about-me/mate-about-me-fingerprint.c index f2e8b340..efb12102 100644 --- a/capplets/about-me/mate-about-me-fingerprint.c +++ b/capplets/about-me/mate-about-me-fingerprint.c @@ -222,7 +222,7 @@ delete_fingerprints_question (GtkBuilder *dialog, GtkWidget *enable, GtkWidget * gtk_dialog_add_button (GTK_DIALOG (question), GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL); button = gtk_button_new_with_mnemonic (_("_Delete Fingerprints")); - gtk_button_set_image (GTK_BUTTON (button), gtk_image_new_from_stock (GTK_STOCK_DELETE, GTK_ICON_SIZE_BUTTON)); + gtk_button_set_image (GTK_BUTTON (button), gtk_image_new_from_icon_name ("edit-delete", GTK_ICON_SIZE_BUTTON)); gtk_widget_set_can_default (button, TRUE); gtk_widget_show (button); gtk_dialog_add_action_widget (GTK_DIALOG (question), button, GTK_RESPONSE_OK); diff --git a/capplets/about-me/mate-about-me.c b/capplets/about-me/mate-about-me.c index 0d4607fd..68a3f8bb 100644 --- a/capplets/about-me/mate-about-me.c +++ b/capplets/about-me/mate-about-me.c @@ -243,8 +243,8 @@ about_me_update_preview (GtkFileChooser *chooser, gtk_image_set_from_pixbuf (GTK_IMAGE (image), pixbuf); g_object_unref (pixbuf); } else { - gtk_image_set_from_stock (GTK_IMAGE (image), - "gtk-dialog-question", + gtk_image_set_from_icon_name (GTK_IMAGE (image), + "dialog-question", GTK_ICON_SIZE_DIALOG); } } -- cgit v1.2.1