diff options
author | David Bolen <db3l.net@gmail.com> | 2012-03-21 13:29:29 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-21 13:29:29 +0000 |
commit | 5c732ef6b566c35e18ed4f259764d5e8438d0527 (patch) | |
tree | 29f1a289ff4d27c465ae7ae24bf3c329f95b1646 | |
parent | a52f5254c703ec0618611b8abf5deea6bef0dcb4 (diff) |
Compilation fix - GTK print dialog headers for GTK < 2.14
-rw-r--r-- | vcl/unx/gtk/inc/gtkprintwrapper.hxx | 4 |
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> |