From 13904e44d00ee57abc3fb77c1d501df536db2a7a Mon Sep 17 00:00:00 2001 From: monsta Date: Wed, 20 Jan 2016 13:20:46 +0300 Subject: use gtk_image_new_from_icon_name in both GTK+ builds --- src/polkitmateauthenticationdialog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/polkitmateauthenticationdialog.c b/src/polkitmateauthenticationdialog.c index dd75efb..b8267a4 100644 --- a/src/polkitmateauthenticationdialog.c +++ b/src/polkitmateauthenticationdialog.c @@ -393,7 +393,7 @@ get_image (PolkitMateAuthenticationDialog *dialog) if (dialog->priv->icon_name == NULL || strlen (dialog->priv->icon_name) == 0) { - image = gtk_image_new_from_stock (GTK_STOCK_DIALOG_AUTHENTICATION, GTK_ICON_SIZE_DIALOG); + image = gtk_image_new_from_icon_name ("dialog-password", GTK_ICON_SIZE_DIALOG); goto out; } @@ -405,7 +405,7 @@ get_image (PolkitMateAuthenticationDialog *dialog) if (vendor_pixbuf == NULL) { g_warning ("No icon for themed icon with name '%s'", dialog->priv->icon_name); - image = gtk_image_new_from_stock (GTK_STOCK_DIALOG_AUTHENTICATION, GTK_ICON_SIZE_DIALOG); + image = gtk_image_new_from_icon_name ("dialog-password", GTK_ICON_SIZE_DIALOG); goto out; } -- cgit v1.2.1