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.
This commit is contained in:
Ben Chan
2017-02-02 16:45:01 -08:00
committed by Aleksander Morgado
parent f20f2d0428
commit 31655bb5a5
24 changed files with 0 additions and 31 deletions

View File

@@ -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,