diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-11-09 09:49:40 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2010-11-10 06:33:23 +0800 |
commit | 50784afa509b36d0089f1d6f5f0a5b25011797cd (patch) | |
tree | 8355871cc1904976c61b7b73ac75894163b2e895 /shell/e-shell-window-private.c | |
parent | e0a75a7125e2b3331966f74f3d042cc4575d8ede (diff) | |
download | gsoc2013-evolution-50784afa509b36d0089f1d6f5f0a5b25011797cd.tar.gz gsoc2013-evolution-50784afa509b36d0089f1d6f5f0a5b25011797cd.tar.zst gsoc2013-evolution-50784afa509b36d0089f1d6f5f0a5b25011797cd.zip |
Add a compatibility code to previous patch
Diffstat (limited to 'shell/e-shell-window-private.c')
-rw-r--r-- | shell/e-shell-window-private.c | 4 |
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); |