summaryrefslogtreecommitdiff
path: root/gtk/gtkprintunixdialog.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-01-17 11:41:03 -0500
committerMatthias Clasen <mclasen@redhat.com>2014-01-17 17:52:07 -0500
commit25e6ba48e72157d0cee42a1a639398d368239baf (patch)
tree0d95a1b7bdb4403594844e7d477fa67dbb605b24 /gtk/gtkprintunixdialog.c
parent57139820c97250ad22c8202c3924d69a05fe7edf (diff)
downloadgtk+-25e6ba48e72157d0cee42a1a639398d368239baf.tar.gz
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.
Diffstat (limited to 'gtk/gtkprintunixdialog.c')
-rw-r--r--gtk/gtkprintunixdialog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkprintunixdialog.c b/gtk/gtkprintunixdialog.c
index 763775c547..1bc7617268 100644
--- a/gtk/gtkprintunixdialog.c
+++ b/gtk/gtkprintunixdialog.c
@@ -684,10 +684,12 @@ error_dialogs (GtkPrintUnixDialog *print_dialog,
add_custom_button_to_dialog (GTK_DIALOG (dialog),
_("_Replace"),
GTK_RESPONSE_ACCEPT);
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_ACCEPT,
GTK_RESPONSE_CANCEL,
-1);
+G_GNUC_END_IGNORE_DEPRECATIONS
gtk_dialog_set_default_response (GTK_DIALOG (dialog),
GTK_RESPONSE_ACCEPT);