diff options
author | Stefano Karapetsas <[email protected]> | 2014-01-21 17:11:27 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-01-21 17:11:27 +0100 |
commit | e4540e7be4b396c8b1bb34157c105e172ccdf0a1 (patch) | |
tree | 746a48a9c7256268879e5c48b5fe31d2e94d5af7 /shell/ev-password-view.c | |
parent | 75173c8f5ebdac9a095a466af602d6b07324029f (diff) | |
download | atril-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.c | 2 |
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); |