[Libreoffice-commits] .: vcl/unx

Caolán McNamara caolan at kemper.freedesktop.org
Wed Mar 21 06:38:10 PDT 2012


 vcl/unx/gtk/inc/gtkprintwrapper.hxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 5c732ef6b566c35e18ed4f259764d5e8438d0527
Author: David Bolen <db3l.net at gmail.com>
Date:   Wed Mar 21 13:29:29 2012 +0000

    Compilation fix - GTK print dialog headers for GTK < 2.14

diff --git a/vcl/unx/gtk/inc/gtkprintwrapper.hxx b/vcl/unx/gtk/inc/gtkprintwrapper.hxx
index ab97512..8457430 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>


More information about the Libreoffice-commits mailing list