eog r4681 - in trunk: . src
- From: friemann svn gnome org
- To: svn-commits-list gnome org
- Subject: eog r4681 - in trunk: . src
- Date: Tue, 12 Aug 2008 17:40:06 +0000 (UTC)
Author: friemann
Date: Tue Aug 12 17:40:06 2008
New Revision: 4681
URL: http://svn.gnome.org/viewvc/eog?rev=4681&view=rev
Log:
2008-08-12 Felix Riemann <friemann svn gnome org>
* src/eog-print-image-setup.c: Fix rev.4674 to be compatible
with a pre-2.13.1 GTK+. Fixes bug #547302 (Tom Parker).
Modified:
trunk/ChangeLog
trunk/src/eog-print-image-setup.c
Modified: trunk/src/eog-print-image-setup.c
==============================================================================
--- trunk/src/eog-print-image-setup.c (original)
+++ trunk/src/eog-print-image-setup.c Tue Aug 12 17:40:06 2008
@@ -24,7 +24,14 @@
#endif
#include <gtk/gtk.h>
+
+/* gtkunixprint.h is only available as of GTK+-2.13.1. */
+#if GTK_CHECK_VERSION(2,13,1)
#include <gtk/gtkunixprint.h>
+#else
+#include <gtk/gtkprintunixdialog.h>
+#endif
+
#include <glib/gi18n.h>
#include <glib/gprintf.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]