diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-01-17 11:26:11 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-01-17 17:52:07 -0500 |
commit | abe29dd18862beba73309596dbb9e5b0587e5f16 (patch) | |
tree | fc0a33439c34f01e0e66c788505bcc2a37df7550 /gtk/gtkfilechooserdialog.c | |
parent | 32a290129417772954926cfdc42adcdfd68b2a94 (diff) | |
download | gtk+-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/gtkfilechooserdialog.c')
-rw-r--r-- | gtk/gtkfilechooserdialog.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkfilechooserdialog.c b/gtk/gtkfilechooserdialog.c index f1169f7539..73c32f602a 100644 --- a/gtk/gtkfilechooserdialog.c +++ b/gtk/gtkfilechooserdialog.c @@ -291,7 +291,9 @@ file_chooser_widget_file_activated (GtkFileChooser *chooser, /* There probably isn't a default widget, so make things easier for the * programmer by looking for a reasonable button on our own. */ +G_GNUC_BEGIN_IGNORE_DEPRECATIONS action_area = gtk_dialog_get_action_area (fc_dialog); +G_GNUC_END_IGNORE_DEPRECATIONS children = gtk_container_get_children (GTK_CONTAINER (action_area)); for (l = children; l; l = l->next) @@ -393,7 +395,9 @@ file_chooser_widget_response_requested (GtkWidget *widget, /* There probably isn't a default widget, so make things easier for the * programmer by looking for a reasonable button on our own. */ +G_GNUC_BEGIN_IGNORE_DEPRECATIONS action_area = gtk_dialog_get_action_area (fc_dialog); +G_GNUC_END_IGNORE_DEPRECATIONS children = gtk_container_get_children (GTK_CONTAINER (action_area)); for (l = children; l; l = l->next) @@ -466,7 +470,9 @@ ensure_default_response (GtkFileChooserDialog *dialog) { GtkWidget *action_area; +G_GNUC_BEGIN_IGNORE_DEPRECATIONS action_area = gtk_dialog_get_action_area (GTK_DIALOG (dialog)); +G_GNUC_END_IGNORE_DEPRECATIONS gtk_container_foreach (GTK_CONTAINER (action_area), foreach_ensure_default_response_cb, dialog); |