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.
This commit is contained in:
Matthias Clasen
2014-01-17 11:41:03 -05:00
parent 57139820c9
commit 25e6ba48e7
7 changed files with 16 additions and 3 deletions

View File

@ -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);