Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2008-11-05 19:54:09 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2008-11-05 19:54:09 (GMT)
commit7fb7c13466e72bb0dab7ad3f6974978354092097 (patch)
tree506295d4bcec4173efa362f862f011482a18d4bf
parent772a9e0893a172504825b47538881a86af03e43c (diff)
Fix build with GTK+ < 2.14
2008-11-05 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: Fix build with GTK+ < 2.14 svn path=/trunk/; revision=3257
-rw-r--r--ChangeLog8
-rw-r--r--shell/ev-window.c4
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 099eecf..bebf8dc 100644
--- 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:
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 6e0c76e..2e2e1bc 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -37,7 +37,11 @@
#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"