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:
@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user