summaryrefslogtreecommitdiff
path: root/gtk/gtkmountoperation.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-11-19 21:18:20 -0500
committerMatthias Clasen <mclasen@redhat.com>2016-11-19 21:23:17 -0500
commitb404ecf294e84a2079a5277d6c8f5f0c65eb10f3 (patch)
tree6de4220210aed5289850874fbec8c5a517169bd5 /gtk/gtkmountoperation.c
parentb0303c539c9e076f6d5ee6ab89699806d4585581 (diff)
downloadgtk+-b404ecf294e84a2079a5277d6c8f5f0c65eb10f3.tar.gz
Drop deprecated gtk_dialog_get_action_area
Add an internal version for the few places where we still need it, and drop it from everywhere else.
Diffstat (limited to 'gtk/gtkmountoperation.c')
-rw-r--r--gtk/gtkmountoperation.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtkmountoperation.c b/gtk/gtkmountoperation.c
index db8a602181..d4f55d9478 100644
--- a/gtk/gtkmountoperation.c
+++ b/gtk/gtkmountoperation.c
@@ -51,6 +51,7 @@
#include "gtkmain.h"
#include "gtksettings.h"
#include "gtkstylecontextprivate.h"
+#include "gtkdialogprivate.h"
#include <glib/gprintf.h>
@@ -527,9 +528,7 @@ gtk_mount_operation_ask_password_do_gtk (GtkMountOperation *operation,
priv->dialog = dialog;
content_area = gtk_dialog_get_content_area (dialog);
-G_GNUC_BEGIN_IGNORE_DEPRECATIONS
action_area = gtk_dialog_get_action_area (dialog);
-G_GNUC_END_IGNORE_DEPRECATIONS
/* Set the dialog up with HIG properties */
gtk_box_set_spacing (GTK_BOX (content_area), 2); /* 2 * 5 + 2 = 12 */