summaryrefslogtreecommitdiff
path: root/shell/ev-properties-dialog.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-properties-dialog.c
parent75173c8f5ebdac9a095a466af602d6b07324029f (diff)
downloadatril-e4540e7be4b396c8b1bb34157c105e172ccdf0a1.tar.bz2
atril-e4540e7be4b396c8b1bb34157c105e172ccdf0a1.tar.xz
shell: Add GTK3 support
Diffstat (limited to 'shell/ev-properties-dialog.c')
-rw-r--r--shell/ev-properties-dialog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/ev-properties-dialog.c b/shell/ev-properties-dialog.c
index f520a733..cefedbd6 100644
--- a/shell/ev-properties-dialog.c
+++ b/shell/ev-properties-dialog.c
@@ -61,7 +61,9 @@ ev_properties_dialog_init (EvPropertiesDialog *properties)
gtk_window_set_title (GTK_WINDOW (properties), _("Properties"));
gtk_window_set_destroy_with_parent (GTK_WINDOW (properties), TRUE);
+#if !GTK_CHECK_VERSION (3, 0, 0)
gtk_dialog_set_has_separator (GTK_DIALOG (properties), FALSE);
+#endif
gtk_container_set_border_width (GTK_CONTAINER (properties), 5);
gtk_box_set_spacing (content_area, 2);