Merge branch 'fix-deprecation-build' into 'main'

tests: Fix compilation when GLIB_DISABLE_DEPRECATION_WARNINGS is defined

See merge request GNOME/glib!2567
This commit is contained in:
Emmanuele Bassi 2022-03-30 15:26:54 +00:00
commit 136dc8afff

View File

@ -22,7 +22,10 @@
* GLib at ftp://ftp.gtk.org/pub/gtk/.
*/
/* we know we are deprecated here, no need for warnings */
#ifndef GLIB_DISABLE_DEPRECATION_WARNINGS
#define GLIB_DISABLE_DEPRECATION_WARNINGS
#endif
#include <glib.h>