summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk/inc/gtkprintwrapper.hxx
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@suse.com>2011-12-06 17:27:05 +0100
committerThorsten Behrens <tbehrens@suse.com>2011-12-06 17:28:11 +0100
commit88a4a8d997921309a7886ed0d1dc383ee3c2f767 (patch)
tree5fc956b3896956543d5c415575d94b9e7c6372b0 /vcl/unx/gtk/inc/gtkprintwrapper.hxx
parentd57887eaad534ca51fc4975918fab66b2f93633d (diff)
GdkPrinter seems optional on Gtk3, too
Added necessary configure magic & conditional compiles for that.
Diffstat (limited to 'vcl/unx/gtk/inc/gtkprintwrapper.hxx')
-rw-r--r--vcl/unx/gtk/inc/gtkprintwrapper.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/gtk/inc/gtkprintwrapper.hxx b/vcl/unx/gtk/inc/gtkprintwrapper.hxx
index 1df133a99548..6ea8a563d4aa 100644
--- a/vcl/unx/gtk/inc/gtkprintwrapper.hxx
+++ b/vcl/unx/gtk/inc/gtkprintwrapper.hxx
@@ -33,7 +33,7 @@
#include <gtk/gtk.h>
-#if defined ENABLE_GTK_PRINT || GTK_CHECK_VERSION(3,0,0)
+#if defined ENABLE_GTK_PRINT || defined ENABLE_GTK3_PRINT
#include <gtk/gtkunixprint.h>
#if !GTK_CHECK_VERSION(3,0,0)
@@ -49,7 +49,7 @@ namespace unx
class GtkPrintWrapper : private boost::noncopyable
{
-#if defined ENABLE_GTK_PRINT || GTK_CHECK_VERSION(3,0,0)
+#if defined ENABLE_GTK_PRINT || defined ENABLE_GTK3_PRINT
public:
GtkPrintWrapper();
~GtkPrintWrapper();