summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk/inc/gtkprintwrapper.hxx
diff options
context:
space:
mode:
authorDavid Bolen <db3l.net@gmail.com>2012-03-21 13:29:29 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-03-21 13:29:29 +0000
commit5c732ef6b566c35e18ed4f259764d5e8438d0527 (patch)
tree29f1a289ff4d27c465ae7ae24bf3c329f95b1646 /vcl/unx/gtk/inc/gtkprintwrapper.hxx
parenta52f5254c703ec0618611b8abf5deea6bef0dcb4 (diff)
Compilation fix - GTK print dialog headers for GTK < 2.14
Diffstat (limited to 'vcl/unx/gtk/inc/gtkprintwrapper.hxx')
-rw-r--r--vcl/unx/gtk/inc/gtkprintwrapper.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/unx/gtk/inc/gtkprintwrapper.hxx b/vcl/unx/gtk/inc/gtkprintwrapper.hxx
index ab97512df92e..84574306f11f 100644
--- a/vcl/unx/gtk/inc/gtkprintwrapper.hxx
+++ b/vcl/unx/gtk/inc/gtkprintwrapper.hxx
@@ -35,7 +35,11 @@
#include <gtk/gtk.h>
#if defined ENABLE_GTK_PRINT || GTK_CHECK_VERSION(3,0,0)
+#if GTK_CHECK_VERSION(2,14,0)
#include <gtk/gtkunixprint.h>
+#else
+#include <gtk/gtkpagesetupunixdialog.h>
+#endif
#if !GTK_CHECK_VERSION(3,0,0)
#include <osl/module.hxx>