aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-11-09 09:49:40 +0800
committerJavier Jardón <jjardon@gnome.org>2010-11-09 09:49:40 +0800
commitf17e29a63a2e5d51001eded304b0de37c3457e8e (patch)
treea044c1a42c5e3b423522feed47a0c12f2de34bf0 /shell
parent0c01510b4ffada8b6cbd15c5c55a96de9c6895ae (diff)
downloadgsoc2013-evolution-f17e29a63a2e5d51001eded304b0de37c3457e8e.tar
gsoc2013-evolution-f17e29a63a2e5d51001eded304b0de37c3457e8e.tar.gz
gsoc2013-evolution-f17e29a63a2e5d51001eded304b0de37c3457e8e.tar.bz2
gsoc2013-evolution-f17e29a63a2e5d51001eded304b0de37c3457e8e.tar.lz
gsoc2013-evolution-f17e29a63a2e5d51001eded304b0de37c3457e8e.tar.xz
gsoc2013-evolution-f17e29a63a2e5d51001eded304b0de37c3457e8e.tar.zst
gsoc2013-evolution-f17e29a63a2e5d51001eded304b0de37c3457e8e.zip
Add a compatibility code to previous patch
Diffstat (limited to 'shell')
-rw-r--r--shell/e-shell-window-private.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/e-shell-window-private.c b/shell/e-shell-window-private.c
index 35f0fb3004..39c6ca971d 100644
--- a/shell/e-shell-window-private.c
+++ b/shell/e-shell-window-private.c
@@ -314,7 +314,11 @@ e_shell_window_private_constructed (EShellWindow *shell_window)
if (widget != NULL)
gtk_box_pack_start (box, widget, FALSE, FALSE, 0);
+#if GTK_CHECK_VERSION(2,90,7)
widget = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL);
+#else
+ widget = gtk_hpaned_new ();
+#endif
gtk_box_pack_start (box, widget, TRUE, TRUE, 0);
priv->content_pane = g_object_ref (widget);
gtk_widget_show (widget);