summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk/inc
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/gtk/inc')
-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 6ea8a563d4aa..1df133a99548 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 || defined ENABLE_GTK3_PRINT
+#if defined ENABLE_GTK_PRINT || GTK_CHECK_VERSION(3,0,0)
#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 || defined ENABLE_GTK3_PRINT
+#if defined ENABLE_GTK_PRINT || GTK_CHECK_VERSION(3,0,0)
public:
GtkPrintWrapper();
~GtkPrintWrapper();