summaryrefslogtreecommitdiffstats
path: root/vcl
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-01-15 09:23:45 +0100
committerDavid Tardon <dtardon@redhat.com>2012-01-15 20:27:14 +0100
commita206bc22623caba30c0285fda0fe0da8879efea3 (patch)
tree65ac505a383b478e42e631df5bbac17052a8fd4e /vcl
parentWaE: ordered comparison of pointer with integer zero (diff)
downloadcore-a206bc22623caba30c0285fda0fe0da8879efea3.tar.gz
core-a206bc22623caba30c0285fda0fe0da8879efea3.zip
avoid warnings about deprecated decls. from glib2
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, 2 insertions, 0 deletions
diff --git a/vcl/unx/gtk/app/gtkdata.cxx b/vcl/unx/gtk/app/gtkdata.cxx
index 8ece4c7a08d1..66e6b4ae1b19 100644
--- a/vcl/unx/gtk/app/gtkdata.cxx
+++ b/vcl/unx/gtk/app/gtkdata.cxx
@@ -45,6 +45,7 @@
#include <sys/time.h>
#include <unistd.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 b6eacc9b3449..8cc92da01fa6 100644
--- a/vcl/unx/gtk/app/gtkinst.cxx
+++ b/vcl/unx/gtk/app/gtkinst.cxx
@@ -29,6 +29,7 @@
#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>