summaryrefslogtreecommitdiff
path: root/shell/ev-password-view.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-01-21 17:11:27 +0100
committerStefano Karapetsas <[email protected]>2014-01-21 17:11:27 +0100
commite4540e7be4b396c8b1bb34157c105e172ccdf0a1 (patch)
tree746a48a9c7256268879e5c48b5fe31d2e94d5af7 /shell/ev-password-view.c
parent75173c8f5ebdac9a095a466af602d6b07324029f (diff)
downloadatril-e4540e7be4b396c8b1bb34157c105e172ccdf0a1.tar.bz2
atril-e4540e7be4b396c8b1bb34157c105e172ccdf0a1.tar.xz
shell: Add GTK3 support
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 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);