summaryrefslogtreecommitdiff
path: root/src/mbim-proxy
diff options
context:
space:
mode:
authorBen Chan <benchan@chromium.org>2017-06-26 20:58:22 -0700
committerAleksander Morgado <aleksander@aleksander.es>2017-06-27 10:11:05 +0200
commitb6e03a03906b6b4d632b41f2039f4f62311278fc (patch)
treeaef5b2f3b6a6a2a3b25ac81da001bdd800c05a56 /src/mbim-proxy
parente34fde1e097ed56506b64a1abe66774038ffde2b (diff)
downloadlibmbim-b6e03a03906b6b4d632b41f2039f4f62311278fc.tar.gz
glib: remove invocations of g_type_init()
g_type_init() has been deprecated (and also marked with the attribute 'deprecated') since glib 2.36 as the type system is automatically initialized. Since the minimum version of glib required by libmbim is 2.36, calling g_type_init() isn't necessarily in the libmbim code.
Diffstat (limited to 'src/mbim-proxy')
-rw-r--r--src/mbim-proxy/mbim-proxy.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mbim-proxy/mbim-proxy.c b/src/mbim-proxy/mbim-proxy.c
index 2e8eeb9..46f023e 100644
--- a/src/mbim-proxy/mbim-proxy.c
+++ b/src/mbim-proxy/mbim-proxy.c
@@ -196,10 +196,6 @@ int main (int argc, char **argv)
setlocale (LC_ALL, "");
-#if !GLIB_CHECK_VERSION (2, 36, 0)
- g_type_init ();
-#endif
-
/* Setup option context, process it and destroy it */
context = g_option_context_new ("- Proxy for MBIM devices");
g_option_context_add_main_entries (context, main_entries, NULL);