summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-11-14 11:49:08 +0000
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2012-11-14 13:53:03 +0100
commit349fa28a5998d10b110da1a7fcc6b5b24d5940b1 (patch)
tree04311dfa3546eb1a657e6ee984950a125fa5de10 /vcl/inc
parentdc3ada4db5f6311aaf3154aed0bba17d96c2af9a (diff)
cleanup gmenu conditionals, remove redundant casts.
Change-Id: I51ee0f6c8671c914626cf4332408b4e2b4918b47
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/unx/gtk/gtksalmenu.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/inc/unx/gtk/gtksalmenu.hxx b/vcl/inc/unx/gtk/gtksalmenu.hxx
index 05e1af987a86..03aa700f9a62 100644
--- a/vcl/inc/unx/gtk/gtksalmenu.hxx
+++ b/vcl/inc/unx/gtk/gtksalmenu.hxx
@@ -31,7 +31,9 @@
#include <unx/gtk/gtkframe.hxx>
#if defined(ENABLE_DBUS) && defined(ENABLE_GIO)
-# define ENABLE_GMENU_INTEGRATION
+# ifdef GLIB_AVAILABLE_IN_2_32
+# define ENABLE_GMENU_INTEGRATION
+# endif
# include <unx/gtk/glomenu.h>
# include <unx/gtk/gloactiongroup.h>
#else