summaryrefslogtreecommitdiff
path: root/gtk/gtkrecentchooserdialog.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-01-17 11:26:11 -0500
committerMatthias Clasen <mclasen@redhat.com>2014-01-17 17:52:07 -0500
commitabe29dd18862beba73309596dbb9e5b0587e5f16 (patch)
treefc0a33439c34f01e0e66c788505bcc2a37df7550 /gtk/gtkrecentchooserdialog.c
parent32a290129417772954926cfdc42adcdfd68b2a94 (diff)
downloadgtk+-abe29dd18862beba73309596dbb9e5b0587e5f16.tar.gz
Update all internal users of gtk_dialog_get_action_area
Some of these should be revisited and fixed. For now, just avoid the deprecation warnings.
Diffstat (limited to 'gtk/gtkrecentchooserdialog.c')
-rw-r--r--gtk/gtkrecentchooserdialog.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkrecentchooserdialog.c b/gtk/gtkrecentchooserdialog.c
index 97309651ef..da9bb1b174 100644
--- a/gtk/gtkrecentchooserdialog.c
+++ b/gtk/gtkrecentchooserdialog.c
@@ -129,7 +129,9 @@ gtk_recent_chooser_dialog_init (GtkRecentChooserDialog *dialog)
dialog->priv = priv;
content_area = gtk_dialog_get_content_area (rc_dialog);
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
action_area = gtk_dialog_get_action_area (rc_dialog);
+G_GNUC_END_IGNORE_DEPRECATIONS
gtk_container_set_border_width (GTK_CONTAINER (rc_dialog), 5);
gtk_box_set_spacing (GTK_BOX (content_area), 2); /* 2 * 5 + 2 = 12 */
@@ -155,7 +157,9 @@ gtk_recent_chooser_item_activated_cb (GtkRecentChooser *chooser,
if (gtk_window_activate_default (GTK_WINDOW (dialog)))
return;
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
action_area = gtk_dialog_get_action_area (rc_dialog);
+G_GNUC_END_IGNORE_DEPRECATIONS
children = gtk_container_get_children (GTK_CONTAINER (action_area));
for (l = children; l; l = l->next)