]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-password-view.c
[shell] Dialogues have no separators on gtk 3
[evince.git] / shell / ev-password-view.c
index bb5ba31348ea194c6ab2fe64482807c74ece3825..6998b0b013942f17dc3991d89b661509334e1fdf 100644 (file)
@@ -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 */
-       gtk_dialog_set_has_separator (dialog, FALSE);
+#if !GTK_CHECK_VERSION (2, 90, 7)
+        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);