mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 17:56:17 +01:00
Silence deprecation warnings in deprecated/
We know we are all deprecated here...
This commit is contained in:
parent
ff2dafb209
commit
5e2764d70c
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user