mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 06:26:15 +01:00
glib: Unconditionally include deprecated headers
This allows the symbols there to be used conditionally, depending on the user’s stated `GLIB_VERSION_MIN_REQUIRED` and `GLIB_VERSION_MAX_ALLOWED` preferences. Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
b4d58a7105
commit
74ca348e99
@ -102,14 +102,12 @@
|
||||
#include <glib/gwin32.h>
|
||||
#endif
|
||||
|
||||
#ifndef G_DISABLE_DEPRECATED
|
||||
#include <glib/deprecated/gallocator.h>
|
||||
#include <glib/deprecated/gcache.h>
|
||||
#include <glib/deprecated/gcompletion.h>
|
||||
#include <glib/deprecated/gmain.h>
|
||||
#include <glib/deprecated/grel.h>
|
||||
#include <glib/deprecated/gthread.h>
|
||||
#endif /* G_DISABLE_DEPRECATED */
|
||||
|
||||
#include <glib/glib-autocleanups.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user