From e4540e7be4b396c8b1bb34157c105e172ccdf0a1 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Tue, 21 Jan 2014 17:11:27 +0100 Subject: shell: Add GTK3 support --- shell/ev-properties-dialog.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'shell/ev-properties-dialog.c') 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); -- cgit v1.2.1