From: Carlos Garcia Campos Date: Wed, 5 Nov 2008 19:54:09 +0000 (+0000) Subject: Fix build with GTK+ < 2.14 X-Git-Tag: EVINCE_2_25_1~2 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=7fb7c13466e72bb0dab7ad3f6974978354092097;p=evince.git Fix build with GTK+ < 2.14 2008-11-05 Carlos Garcia Campos * shell/ev-window.c: Fix build with GTK+ < 2.14 svn path=/trunk/; revision=3257 --- diff --git a/ChangeLog b/ChangeLog index 099eecf0..bebf8dc7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-11-05 Carlos Garcia Campos + + * shell/ev-window.c: + + Fix build with GTK+ < 2.14 + 2008-11-05 Nickolay V. Shmyrev * cut-n-paste/zoom-control/ephy-zoom-action.c (create_menu_item): @@ -13,7 +19,7 @@ More renames of warning to mdvi_warning in follow up to the fix of the bug #553369. Fix for the bug #559257 by Tuxce . - + 2008-11-04 Carlos Garcia Campos * NEWS: diff --git a/shell/ev-window.c b/shell/ev-window.c index 6e0c76eb..2e2e1bc3 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -37,7 +37,11 @@ #include #include #include +#if GTK_CHECK_VERSION (2, 14, 0) #include +#else +#include +#endif #include #include "egg-editable-toolbar.h"