From 25e6ba48e72157d0cee42a1a639398d368239baf Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 17 Jan 2014 11:41:03 -0500 Subject: Update all internal users of alternative button order We'll keep this code around for now to not regress on Windows, but avoid deprecation warnings. --- gtk/gtkfilechooserbutton.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gtk/gtkfilechooserbutton.c') diff --git a/gtk/gtkfilechooserbutton.c b/gtk/gtkfilechooserbutton.c index 3cd560fd1a..21e19eb8ab 100644 --- a/gtk/gtkfilechooserbutton.c +++ b/gtk/gtkfilechooserbutton.c @@ -810,10 +810,12 @@ gtk_file_chooser_button_constructor (GType type, gtk_dialog_set_default_response (GTK_DIALOG (priv->dialog), GTK_RESPONSE_ACCEPT); +G_GNUC_BEGIN_IGNORE_DEPRECATIONS gtk_dialog_set_alternative_button_order (GTK_DIALOG (priv->dialog), GTK_RESPONSE_ACCEPT, GTK_RESPONSE_CANCEL, -1); +G_GNUC_END_IGNORE_DEPRECATIONS gtk_file_chooser_button_set_title (button, _(DEFAULT_TITLE)); } -- cgit v1.2.1