summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk/window/hudawareness.cxx
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@suse.com>2012-11-21 13:03:26 +0100
committerThorsten Behrens <tbehrens@suse.com>2012-11-21 13:04:16 +0100
commit463f34737e01ca277a7b87741aed8daad9bc45cf (patch)
treeb29f056ae3414c3698d3c659fa4a8225c93b8414 /vcl/unx/gtk/window/hudawareness.cxx
parentd85fd8a85501547d5bb87822d2589a07aed7f2d6 (diff)
UnityMenu: don't build when ENABLE_GMENU_INTEGRATION is not on
Change-Id: Iba9e6c3d2483a20ed3ec33b85b4c5f78830fd2f6
Diffstat (limited to 'vcl/unx/gtk/window/hudawareness.cxx')
-rw-r--r--vcl/unx/gtk/window/hudawareness.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/vcl/unx/gtk/window/hudawareness.cxx b/vcl/unx/gtk/window/hudawareness.cxx
index 69261c60f03c..1ca2ffafa706 100644
--- a/vcl/unx/gtk/window/hudawareness.cxx
+++ b/vcl/unx/gtk/window/hudawareness.cxx
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-
/*
* This file is part of the LibreOffice project.
*
@@ -8,6 +7,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
+#ifdef ENABLE_GMENU_INTEGRATION
+
#include <string.h>
#include <unx/gtk/hudawareness.h>
@@ -102,3 +103,7 @@ hud_awareness_unregister (GDBusConnection *connection,
{
g_dbus_connection_unregister_object (connection, subscription_id);
}
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */