mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 05:56:14 +01:00
Silence deprecations in deprecated/ (again)
This commit is contained in:
parent
f5f242caf8
commit
3d282dcc2e
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user