summaryrefslogtreecommitdiff
path: root/glib
diff options
context:
space:
mode:
authorPhilip Withnall <withnall@endlessm.com>2019-05-27 19:30:31 +0100
committerPhilip Withnall <withnall@endlessm.com>2019-05-30 10:38:45 +0100
commite62e89f2f8b8eb6e0aace419f9a1adeaae7ba56b (patch)
treeaf02bf99930bd5a674e0607a6cfebdd8d35be19f /glib
parentf0fb7b77a13e5fc9a5053f0b11264d1af9a853cc (diff)
downloadglib-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.c3
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"