diff options
author | Ben Chan <benchan@chromium.org> | 2017-02-02 16:45:01 -0800 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2017-02-03 10:05:14 +0100 |
commit | 31655bb5a5e2c806cee23b9ee41c2e663c5decbd (patch) | |
tree | 65df1333c681dceac4ad6424aa09cc6244631b20 /cli/mmcli.c | |
parent | f20f2d04282f673cebc2ce9262c5b10adab82fa2 (diff) |
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 ModemManager
is 2.36, calling g_type_init() isn't necessarily in the ModemManager
code.
Diffstat (limited to 'cli/mmcli.c')
-rw-r--r-- | cli/mmcli.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cli/mmcli.c b/cli/mmcli.c index 85fc8925..f5077538 100644 --- a/cli/mmcli.c +++ b/cli/mmcli.c @@ -184,8 +184,6 @@ main (gint argc, gchar **argv) setlocale (LC_ALL, ""); - g_type_init (); - /* Setup option context, process it and destroy it */ context = g_option_context_new ("- Control and monitor the ModemManager"); g_option_context_add_group (context, |