diff options
author | Jiří Klimeš <jklimes@redhat.com> | 2014-05-27 16:47:15 +0200 |
---|---|---|
committer | Jiří Klimeš <jklimes@redhat.com> | 2014-05-27 16:58:21 +0200 |
commit | 98ae6e06d25ad9359670e5a9260e1bba9e913fcb (patch) | |
tree | 18dde4f3f7861b280f926c937abb2ec162e784b0 /src/tests/test-ip4-config.c | |
parent | aba55670cc8af780df0af89002272b612f49a54e (diff) | |
download | NetworkManager-98ae6e06d25ad9359670e5a9260e1bba9e913fcb.tar.gz |
all: g_type_init() has been deprecated in GLib 2.35.0
g_type_init() deprecation:
https://bugzilla.gnome.org/show_bug.cgi?id=686161
Diffstat (limited to 'src/tests/test-ip4-config.c')
-rw-r--r-- | src/tests/test-ip4-config.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/test-ip4-config.c b/src/tests/test-ip4-config.c index f08ed24265..3eee5f1366 100644 --- a/src/tests/test-ip4-config.c +++ b/src/tests/test-ip4-config.c @@ -340,7 +340,9 @@ main (int argc, char **argv) { g_test_init (&argc, &argv, NULL); +#if !GLIB_CHECK_VERSION (2, 35, 0) g_type_init (); +#endif g_test_add_func ("/ip4-config/subtract", test_subtract); g_test_add_func ("/ip4-config/compare-with-source", test_compare_with_source); |