diff options
author | Philip Withnall <withnall@endlessm.com> | 2019-05-27 19:30:31 +0100 |
---|---|---|
committer | Philip Withnall <withnall@endlessm.com> | 2019-05-30 10:38:45 +0100 |
commit | e62e89f2f8b8eb6e0aace419f9a1adeaae7ba56b (patch) | |
tree | af02bf99930bd5a674e0607a6cfebdd8d35be19f /glib | |
parent | f0fb7b77a13e5fc9a5053f0b11264d1af9a853cc (diff) | |
download | glib-e62e89f2f8b8eb6e0aace419f9a1adeaae7ba56b.tar.gz |
Fix various deprecation warnings in code and tests
This code uses, or tests, deprecated functions, types or macros; so
needs to be compiled with deprecation warnings disabled.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
Diffstat (limited to 'glib')
-rw-r--r-- | glib/deprecated/gcache.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/glib/deprecated/gcache.c b/glib/deprecated/gcache.c index 7056c13ac..179ad9e17 100644 --- a/glib/deprecated/gcache.c +++ b/glib/deprecated/gcache.c @@ -28,6 +28,9 @@ #include "config.h" +/* we know we are deprecated here, no need for warnings */ +#define GLIB_DISABLE_DEPRECATION_WARNINGS + #include "gcache.h" #include "gslice.h" |