summaryrefslogtreecommitdiffstats
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-05-08 09:53:33 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-05-08 09:58:44 +0200
commit98ba9ca066fcf8f1e576eac4bbd5731b4f810c74 (patch)
tree9cd53a4038074548e142f5b1cb3613e2deca7f50 /vcl
parentDo not add unoil.jar to manifest Class-Path (diff)
downloadcore-98ba9ca066fcf8f1e576eac4bbd5731b4f810c74.tar.gz
core-98ba9ca066fcf8f1e576eac4bbd5731b4f810c74.zip
Revert "avoid warnings about deprecated decls. from glib2"
This reverts commit a206bc22623caba30c0285fda0fe0da8879efea3. While removing the GLIB_DISABLE_DEPRECATION_WARNINGS defines does not lead to problems at least with my current Fedora 18 environment (and, according to dtardon, "guessing by the date, it was on f16 or f17" where that fix was relevant), having the defines does cause -Werror=unused-macros at least in one RHEL 6 environment. So I'm reverting for now, in the hope that should any warnings re-appear, they can be addressed by applying the recent s/-I/$IFLAGS/ approach to GTK_CFLAGS in configure.ac. Change-Id: I5a3e4efabb88eb06304dd8b9eee6d8867fd77be5
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/gtk/app/gtkdata.cxx1
-rw-r--r--vcl/unx/gtk/app/gtkinst.cxx1
2 files changed, 0 insertions, 2 deletions
diff --git a/vcl/unx/gtk/app/gtkdata.cxx b/vcl/unx/gtk/app/gtkdata.cxx
index 59eb593009ad..af7043a60556 100644
--- a/vcl/unx/gtk/app/gtkdata.cxx
+++ b/vcl/unx/gtk/app/gtkdata.cxx
@@ -30,7 +30,6 @@
#include <sys/types.h>
#include <sys/time.h>
#endif
-#define GLIB_DISABLE_DEPRECATION_WARNINGS
#include <unx/gtk/gtkdata.hxx>
#include <unx/gtk/gtkinst.hxx>
#include <unx/gtk/gtkframe.hxx>
diff --git a/vcl/unx/gtk/app/gtkinst.cxx b/vcl/unx/gtk/app/gtkinst.cxx
index 2172a9e764ae..b8afc3bed808 100644
--- a/vcl/unx/gtk/app/gtkinst.cxx
+++ b/vcl/unx/gtk/app/gtkinst.cxx
@@ -21,7 +21,6 @@
#include <stack>
#include <string.h>
#include <osl/module.h>
-#define GLIB_DISABLE_DEPRECATION_WARNINGS
#include <unx/gtk/gtkdata.hxx>
#include <unx/gtk/gtkinst.hxx>
#include <unx/salobj.h>