diff options
author | Dan Winship <danw@gnome.org> | 2013-02-24 13:03:21 +0100 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2013-02-26 13:07:33 +0100 |
commit | be89197214f081effa0760f8539272f34307ec71 (patch) | |
tree | 38f54822308275916c2f2ea1e30b72c95d00d9e3 /src/main.c | |
parent | a2cdf632045d60b26f7aff470dedb56c1f9b938d (diff) | |
download | NetworkManager-be89197214f081effa0760f8539272f34307ec71.tar.gz |
core: remove remaining pre-2.32 GLib compat / deprecated usage
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/main.c b/src/main.c index 0dc630ac74..e4dedca371 100644 --- a/src/main.c +++ b/src/main.c @@ -482,18 +482,7 @@ main (int argc, char *argv[]) umask (022); g_type_init (); - -/* - * Threading is always enabled starting from GLib 2.31.0. - * See also http://developer.gnome.org/glib/2.31/glib-Deprecated-Thread-APIs.html. - */ -#if !GLIB_CHECK_VERSION (2,31,0) - if (!g_thread_supported ()) - g_thread_init (NULL); - dbus_g_thread_init (); -#else dbus_threads_init_default (); -#endif /* Ensure that non-exported properties don't leak out, and that the * introspection 'access' permissions are respected. |