]> www.fi.muni.cz Git - evince.git/commitdiff
Fix build with GTK+ < 2.14
authorCarlos Garcia Campos <carlosgc@gnome.org>
Wed, 5 Nov 2008 19:54:09 +0000 (19:54 +0000)
committerCarlos Garcia Campos <carlosgc@src.gnome.org>
Wed, 5 Nov 2008 19:54:09 +0000 (19:54 +0000)
2008-11-05  Carlos Garcia Campos  <carlosgc@gnome.org>

* shell/ev-window.c:

Fix build with GTK+ < 2.14

svn path=/trunk/; revision=3257

ChangeLog
shell/ev-window.c

index 099eecf0a2429bf0401f460a364834b99cbd5a8d..bebf8dc7be86b05dbdfe83b4b9feb3f0b7b4016d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-11-05  Carlos Garcia Campos  <carlosgc@gnome.org>
+
+       * shell/ev-window.c:
+
+       Fix build with GTK+ < 2.14
+
 2008-11-05  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
 
        * 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 <tuxce.net@gmail.com>.
-
+       
 2008-11-04  Carlos Garcia Campos  <carlosgc@gnome.org>
 
        * NEWS:
index 6e0c76eb648b7edb5ca790333615203595147241..2e2e1bc3e3909c77e9acf100c4ca9a303a9605e7 100644 (file)
 #include <glib/gi18n.h>
 #include <gio/gio.h>
 #include <gtk/gtk.h>
+#if GTK_CHECK_VERSION (2, 14, 0)
 #include <gtk/gtkunixprint.h>
+#else
+#include <gtk/gtkprintunixdialog.h>
+#endif
 #include <gconf/gconf-client.h>
 
 #include "egg-editable-toolbar.h"