From e4540e7be4b396c8b1bb34157c105e172ccdf0a1 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Tue, 21 Jan 2014 17:11:27 +0100 Subject: shell: Add GTK3 support --- shell/ev-password-view.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'shell/ev-password-view.c') diff --git a/shell/ev-password-view.c b/shell/ev-password-view.c index 73ebbdef..b6ead823 100644 --- a/shell/ev-password-view.c +++ b/shell/ev-password-view.c @@ -255,7 +255,9 @@ ev_password_view_ask_password (EvPasswordView *password_view) action_area = gtk_dialog_get_action_area (dialog); /* Set the dialog up with HIG properties */ +#if !GTK_CHECK_VERSION (3, 0, 0) gtk_dialog_set_has_separator (dialog, FALSE); +#endif gtk_container_set_border_width (GTK_CONTAINER (dialog), 5); gtk_box_set_spacing (GTK_BOX (content_area), 2); /* 2 * 5 + 2 = 12 */ gtk_container_set_border_width (GTK_CONTAINER (action_area), 5); -- cgit v1.2.1