aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmicli
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/qmicli
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/qmicli')
-rw-r--r--src/qmicli/qmicli.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/qmicli/qmicli.c b/src/qmicli/qmicli.c
index 630fd9c..a2a5560 100644
--- a/src/qmicli/qmicli.c
+++ b/src/qmicli/qmicli.c
@@ -722,8 +722,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 ("- Control QMI devices");
g_option_context_add_group (context,