]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-annotation-properties-dialog.c
[shell] Dialogues have no separators on gtk 3
[evince.git] / shell / ev-annotation-properties-dialog.c
index 0f5c6e17c877d1ea88a640eee1123c91764729aa..68013f27e21f5858f93f926484fe13d098cfa14c 100644 (file)
@@ -139,7 +139,9 @@ ev_annotation_properties_dialog_init (EvAnnotationPropertiesDialog *annot_dialog
        gtk_window_set_title (GTK_WINDOW (annot_dialog), _("Annotation Properties"));
        gtk_window_set_destroy_with_parent (GTK_WINDOW (annot_dialog), TRUE);
        gtk_container_set_border_width (GTK_CONTAINER (annot_dialog), 5);
+#if !GTK_CHECK_VERSION (2, 90, 7)
        gtk_dialog_set_has_separator (dialog, FALSE);
+#endif
        gtk_dialog_add_buttons (dialog,
                                GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
                                GTK_STOCK_APPLY, GTK_RESPONSE_APPLY,