Commit 3d282dcc authored by Matthias Clasen's avatar Matthias Clasen

Silence deprecations in deprecated/ (again)

parent f5f242ca
......@@ -15,6 +15,11 @@
* Boston, MA 02111-1307, USA.
*/
#include "config.h"
/* we know we are deprecated here, no need for warnings */
#define GLIB_DISABLE_DEPRECATION_WARNINGS
#include "gallocator.h"
#include <glib/gmessages.h>
......
......@@ -30,6 +30,9 @@
#include "config.h"
/* we know we are deprecated here, no need for warnings */
#define GLIB_DISABLE_DEPRECATION_WARNINGS
#include "gcompletion.h"
#include <glib/gstrfuncs.h>
......
......@@ -29,6 +29,9 @@
#include "config.h"
/* we know we are deprecated here, no need for warnings */
#define GLIB_DISABLE_DEPRECATION_WARNINGS
#include "grel.h"
#include <glib/gmessages.h>
......
......@@ -23,13 +23,8 @@
#include "config.h"
#include "gmacros.h"
/* we know we are deprecated here, no need for warnings */
#undef G_GNUC_DEPRECATED
#define G_GNUC_DEPRECATED
#undef G_GNUC_DEPRECATED_FOR
#define G_GNUC_DEPRECATED_FOR(f)
#define GLIB_DISABLE_DEPRECATION_WARNINGS
#include "gmessages.h"
#include "gslice.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment