diff options
author | David Tardon <dtardon@redhat.com> | 2012-01-15 09:23:45 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-01-15 20:27:14 +0100 |
commit | a206bc22623caba30c0285fda0fe0da8879efea3 (patch) | |
tree | 65ac505a383b478e42e631df5bbac17052a8fd4e /vcl/unx | |
parent | 49d432658d3be60e9b3647f5eefc70d1b9997f8d (diff) |
avoid warnings about deprecated decls. from glib2
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/gtk/app/gtkdata.cxx | 1 | ||||
-rw-r--r-- | vcl/unx/gtk/app/gtkinst.cxx | 1 |
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> |