mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 14:36:13 +01:00
gio/tests: Disable deprecation warnings where necessary
The defaultvalue test sets all properties, even the deprecated ones. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
parent
88e160dfe4
commit
25d21edb32
@ -193,6 +193,9 @@ main (int argc, char **argv)
|
||||
g_setenv ("GIO_USE_VFS", "local", TRUE);
|
||||
g_setenv ("GSETTINGS_BACKEND", "memory", TRUE);
|
||||
|
||||
/* Disable deprecation warnings when we poke at deprecated properties */
|
||||
g_setenv ("G_ENABLE_DIAGNOSTIC", "0", TRUE);
|
||||
|
||||
g_test_init (&argc, &argv, NULL);
|
||||
|
||||
/* Create one test bus for all tests, as we have a lot of very small
|
||||
|
Loading…
Reference in New Issue
Block a user