summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-05-07 11:53:56 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-05-07 11:53:56 +0200
commit7ef1aa6876f144b0aedb2b988d1f9b6aa22f378c (patch)
tree4ec49db6403c0e0e99435a0f17cffde04d19b3b7 /extensions
parent41dc90592e4d30a89059b8f0deeec48adf6fefdb (diff)
-Werror=unused-macros
Change-Id: I9fd616930eb0b336ce89e97bc333f19d4cf449ae
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/plugin/inc/plugin/unx/plugcon.hxx1
-rw-r--r--extensions/source/plugin/unx/npwrap.cxx1
2 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/plugin/inc/plugin/unx/plugcon.hxx b/extensions/source/plugin/inc/plugin/unx/plugcon.hxx
index cc27cc219578..a0528bf23f4e 100644
--- a/extensions/source/plugin/inc/plugin/unx/plugcon.hxx
+++ b/extensions/source/plugin/inc/plugin/unx/plugcon.hxx
@@ -95,6 +95,7 @@ extern "C" {
#include <config_vclplug.h>
#if ENABLE_GTK
+#define GLIB_DISABLE_DEPRECATION_WARNINGS
#include <gtk/gtk.h>
#include <gdk/gdkx.h>
#else
diff --git a/extensions/source/plugin/unx/npwrap.cxx b/extensions/source/plugin/unx/npwrap.cxx
index 3f449ac90296..97b3f3f1ca3e 100644
--- a/extensions/source/plugin/unx/npwrap.cxx
+++ b/extensions/source/plugin/unx/npwrap.cxx
@@ -38,7 +38,6 @@
#include <fcntl.h>
#include <signal.h>
-#define GLIB_DISABLE_DEPRECATION_WARNINGS
#include <plugin/unx/plugcon.hxx>
#include <osl/file.h>