summaryrefslogtreecommitdiff
path: root/gtk/gtkmountoperation.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/gtkmountoperation.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/gtkmountoperation.c')
-rw-r--r--gtk/gtkmountoperation.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkmountoperation.c b/gtk/gtkmountoperation.c
index 87c7479e3e..850ac821e1 100644
--- a/gtk/gtkmountoperation.c
+++ b/gtk/gtkmountoperation.c
@@ -532,11 +532,12 @@ G_GNUC_END_IGNORE_DEPRECATIONS
_("Co_nnect"), GTK_RESPONSE_OK,
NULL);
gtk_dialog_set_default_response (dialog, GTK_RESPONSE_OK);
-
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
gtk_dialog_set_alternative_button_order (dialog,
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
+G_GNUC_END_IGNORE_DEPRECATIONS
/* Build contents */
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);