[gnome-builder] dialogs: ignore action area deprecation
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] dialogs: ignore action area deprecation
- Date: Sun, 14 Dec 2014 09:15:58 +0000 (UTC)
commit 17345dceeee1dcbdb2ab92ab797c05a425f00445
Author: Christian Hergert <christian hergert me>
Date: Sun Dec 14 01:15:34 2014 -0800
dialogs: ignore action area deprecation
Possibly against better judgement, but should be safe.
src/dialogs/gb-close-confirmation-dialog.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/dialogs/gb-close-confirmation-dialog.c b/src/dialogs/gb-close-confirmation-dialog.c
index 2979327..c89fd63 100644
--- a/src/dialogs/gb-close-confirmation-dialog.c
+++ b/src/dialogs/gb-close-confirmation-dialog.c
@@ -145,7 +145,10 @@ gb_close_confirmation_dialog_init (GbCloseConfirmationDialog *dlg)
atk_object_set_role (atk_obj, ATK_ROLE_ALERT);
atk_object_set_name (atk_obj, _("Question"));
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
action_area = gtk_dialog_get_action_area (GTK_DIALOG (dlg));
+ G_GNUC_END_IGNORE_DEPRECATIONS;
+
gtk_button_box_set_layout (GTK_BUTTON_BOX (action_area), GTK_BUTTONBOX_EXPAND);
gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (dlg)),
GTK_STYLE_CLASS_MESSAGE_DIALOG);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]