Silence deprecation warnings in deprecated/

We know we are all deprecated here...
This commit is contained in:
Matthias Clasen 2011-10-09 09:57:13 -04:00
parent ff2dafb209
commit 5e2764d70c

View File

@ -23,6 +23,14 @@
#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)
#include "gmessages.h"
#include "gslice.h"
#include "gmain.h"