aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmi-proxy
diff options
context:
space:
mode:
authorBen Chan <benchan@chromium.org>2017-02-02 16:45:17 -0800
committerAleksander Morgado <aleksander@aleksander.es>2017-02-03 09:51:00 +0100
commit83cc61fef03536658a91847c8db1253cef43c239 (patch)
tree13b7fa5070b8bb6562ee0ef0ff87d2581cc754cc /src/qmi-proxy
parent18985936f38c08f827a6a7e7d8ed7ea4c12ac19d (diff)
downloadexternal_libqmi-83cc61fef03536658a91847c8db1253cef43c239.zip
external_libqmi-83cc61fef03536658a91847c8db1253cef43c239.tar.gz
external_libqmi-83cc61fef03536658a91847c8db1253cef43c239.tar.bz2
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 libqmi is 2.36, calling g_type_init() isn't necessarily in the libqmi code.
Diffstat (limited to 'src/qmi-proxy')
-rw-r--r--src/qmi-proxy/qmi-proxy.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/qmi-proxy/qmi-proxy.c b/src/qmi-proxy/qmi-proxy.c
index fe51075..c936fb2 100644
--- a/src/qmi-proxy/qmi-proxy.c
+++ b/src/qmi-proxy/qmi-proxy.c
@@ -174,8 +174,6 @@ int main (int argc, char **argv)
setlocale (LC_ALL, "");
- g_type_init ();
-
/* Setup option context, process it and destroy it */
context = g_option_context_new ("- Proxy for QMI devices");
g_option_context_add_main_entries (context, main_entries, NULL);