diff options
author | Matthias Clasen <mclasen@redhat.com> | 2016-11-19 21:18:20 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-11-19 21:23:17 -0500 |
commit | b404ecf294e84a2079a5277d6c8f5f0c65eb10f3 (patch) | |
tree | 6de4220210aed5289850874fbec8c5a517169bd5 /gtk/gtkmessagedialog.c | |
parent | b0303c539c9e076f6d5ee6ab89699806d4585581 (diff) | |
download | gtk+-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/gtkmessagedialog.c')
-rw-r--r-- | gtk/gtkmessagedialog.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtkmessagedialog.c b/gtk/gtkmessagedialog.c index 39af8f0571..c90056fd37 100644 --- a/gtk/gtkmessagedialog.c +++ b/gtk/gtkmessagedialog.c @@ -28,6 +28,7 @@ #include <string.h> #include "gtkmessagedialog.h" +#include "gtkdialogprivate.h" #include "gtkaccessible.h" #include "gtkbuildable.h" #include "gtklabel.h" @@ -293,9 +294,7 @@ gtk_message_dialog_init (GtkMessageDialog *dialog) priv->message_type = GTK_MESSAGE_OTHER; gtk_widget_init_template (GTK_WIDGET (dialog)); -G_GNUC_BEGIN_IGNORE_DEPRECATIONS action_area = gtk_dialog_get_action_area (GTK_DIALOG (dialog)); -G_GNUC_END_IGNORE_DEPRECATIONS gtk_button_box_set_layout (GTK_BUTTON_BOX (action_area), GTK_BUTTONBOX_EXPAND); settings = gtk_widget_get_settings (GTK_WIDGET (dialog)); |