summaryrefslogtreecommitdiff
path: root/shell/ev-password-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ev-password-view.c')
-rw-r--r--shell/ev-password-view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/ev-password-view.c b/shell/ev-password-view.c
index 545c064c..d5e49b5e 100644
--- a/shell/ev-password-view.c
+++ b/shell/ev-password-view.c
@@ -284,10 +284,12 @@ ev_password_view_ask_password (EvPasswordView *password_view)
gtk_dialog_set_default_response (dialog, GTK_RESPONSE_OK);
gtk_dialog_set_response_sensitive (GTK_DIALOG (dialog),
GTK_RESPONSE_OK, FALSE);
+#if !GTK_CHECK_VERSION(3,0,0)
gtk_dialog_set_alternative_button_order (dialog,
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
+#endif
/* Build contents */
hbox = gtk_hbox_new (FALSE, 12);