From 50784afa509b36d0089f1d6f5f0a5b25011797cd Mon Sep 17 00:00:00 2001 From: Javier Jardón Date: Tue, 9 Nov 2010 02:49:40 +0100 Subject: Add a compatibility code to previous patch --- shell/e-shell-window-private.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'shell') 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); -- cgit