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/supplicant-manager | |
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/supplicant-manager')
-rw-r--r-- | src/supplicant-manager/tests/test-supplicant-config.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/supplicant-manager/tests/test-supplicant-config.c b/src/supplicant-manager/tests/test-supplicant-config.c index 181a11f90b..d1d0562f2c 100644 --- a/src/supplicant-manager/tests/test-supplicant-config.c +++ b/src/supplicant-manager/tests/test-supplicant-config.c @@ -500,7 +500,9 @@ int main (int argc, char **argv) GError *error = NULL; char *base; +#if !GLIB_CHECK_VERSION (2, 35, 0) g_type_init (); +#endif if (!nm_utils_init (&error)) FAIL ("nm-utils-init", "failed to initialize libnm-util: %s", error->message); |