summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-07-03 16:28:42 +0800
committerraveit65 <[email protected]>2019-07-05 13:25:51 +0200
commit8926686f2723fc732a970228580c5300b8868457 (patch)
tree8c0490a4f89ce0b0916043a473dfb1e4acecae01
parent2cc76c5ff9fa7bc5dd9a883effd5c3c8e8b704d6 (diff)
downloadmate-polkit-8926686f2723fc732a970228580c5300b8868457.tar.bz2
mate-polkit-8926686f2723fc732a970228580c5300b8868457.tar.xz
drop deprecated gtk_dialog_get_action_area
-rw-r--r--src/polkitmateauthenticationdialog.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/polkitmateauthenticationdialog.c b/src/polkitmateauthenticationdialog.c
index 7e08674..04aaef6 100644
--- a/src/polkitmateauthenticationdialog.c
+++ b/src/polkitmateauthenticationdialog.c
@@ -649,7 +649,6 @@ polkit_mate_authentication_dialog_constructed (GObject *object)
GtkWidget *label;
GtkWidget *image;
GtkWidget *content_area;
- GtkWidget *action_area;
gboolean have_user_combobox;
gchar *s;
guint rows;
@@ -673,12 +672,9 @@ polkit_mate_authentication_dialog_constructed (GObject *object)
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
content_area = gtk_dialog_get_content_area (GTK_DIALOG (dialog));
- action_area = gtk_dialog_get_action_area (GTK_DIALOG (dialog));
gtk_container_set_border_width (GTK_CONTAINER (dialog), 5);
gtk_box_set_spacing (GTK_BOX (content_area), 2); /* 2 * 5 + 2 = 12 */
- 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), "dialog-password");