summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-04-30 12:59:56 +0200
committerraveit65 <[email protected]>2017-04-30 12:59:56 +0200
commit2811965e37bb4b0cd0151e9f7a54c9e464349934 (patch)
treea720f2fd5617641a485beefd18426ec4331aba98
parentc28b28667bbdf1259a0a8e8701fe56151b47443a (diff)
downloadmate-polkit-2811965e37bb4b0cd0151e9f7a54c9e464349934.tar.bz2
mate-polkit-2811965e37bb4b0cd0151e9f7a54c9e464349934.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);