summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-window.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 3e8e096a..3d4f5c84 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -7246,7 +7246,11 @@ ev_window_init (EvWindow *ev_window)
gtk_widget_show (ev_window->priv->toolbar);
/* Add the main area */
+#if GTK_CHECK_VERSION (3, 0, 0)
+ ev_window->priv->hpaned = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL);
+#else
ev_window->priv->hpaned = gtk_hpaned_new ();
+#endif
g_signal_connect (ev_window->priv->hpaned,
"notify::position",
G_CALLBACK (ev_window_sidebar_position_change_cb),