summaryrefslogtreecommitdiff
path: root/src/polkitmateauthenticationdialog.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-01-20 13:20:46 +0300
committermonsta <[email protected]>2016-01-20 13:20:46 +0300
commit13904e44d00ee57abc3fb77c1d501df536db2a7a (patch)
treecef1a8630ff4ac5802d20988a566db2b512a1104 /src/polkitmateauthenticationdialog.c
parent9277713c575f7ac30fb218b5955895050894f63a (diff)
downloadmate-polkit-13904e44d00ee57abc3fb77c1d501df536db2a7a.tar.bz2
mate-polkit-13904e44d00ee57abc3fb77c1d501df536db2a7a.tar.xz
use gtk_image_new_from_icon_name in both GTK+ builds
Diffstat (limited to 'src/polkitmateauthenticationdialog.c')
-rw-r--r--src/polkitmateauthenticationdialog.c4
1 files changed, 2 insertions, 2 deletions
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;
}