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 /tools/generate-settings-spec.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 'tools/generate-settings-spec.c')
-rw-r--r-- | tools/generate-settings-spec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/generate-settings-spec.c b/tools/generate-settings-spec.c index 3ba370fa3a..f53fdba16e 100644 --- a/tools/generate-settings-spec.c +++ b/tools/generate-settings-spec.c @@ -408,7 +408,9 @@ main (int argc, char *argv[]) usage (argv[0]); } +#if !GLIB_CHECK_VERSION (2, 35, 0) g_type_init (); +#endif if (!nm_utils_init (&error)) { fprintf (stderr, "ERR: failed to initialize libnm-util: %s", error->message); |