summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-04-30 12:59:56 +0200
committerraveit65 <[email protected]>2017-05-09 13:44:51 +0200
commit6689d789e596b2051f9d52790da67adc6af578b8 (patch)
tree6fe0b61b9ea8b445956a86d9e10760832c13995a
parent34c58c5c673f87bb0c1f658094e8b6770575a9db (diff)
downloadmate-polkit-6689d789e596b2051f9d52790da67adc6af578b8.tar.bz2
mate-polkit-6689d789e596b2051f9d52790da67adc6af578b8.tar.xz
polkitmateauthenticationdialog: replace a GTK_STOCK deprecation
-rw-r--r--src/polkitmateauthenticationdialog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/polkitmateauthenticationdialog.c b/src/polkitmateauthenticationdialog.c
index 6b8a7a1..f8b8ae8 100644
--- a/src/polkitmateauthenticationdialog.c
+++ b/src/polkitmateauthenticationdialog.c
@@ -411,7 +411,7 @@ get_image (PolkitMateAuthenticationDialog *dialog)
pixbuf = gtk_icon_theme_load_icon (gtk_icon_theme_get_default (),
- GTK_STOCK_DIALOG_AUTHENTICATION,
+ "dialog-password",
48,
0,
NULL);
@@ -663,7 +663,7 @@ polkit_mate_authentication_dialog_constructed (GObject *object)
gtk_container_set_border_width (GTK_CONTAINER (action_area), 5);
gtk_box_set_spacing (GTK_BOX (action_area), 6);
gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE);
- gtk_window_set_icon_name (GTK_WINDOW (dialog), GTK_STOCK_DIALOG_AUTHENTICATION);
+ gtk_window_set_icon_name (GTK_WINDOW (dialog), "dialog-password");
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
gtk_container_set_border_width (GTK_CONTAINER (hbox), 5);