From 31655bb5a5e2c806cee23b9ee41c2e663c5decbd Mon Sep 17 00:00:00 2001 From: Ben Chan Date: Thu, 2 Feb 2017 16:45:01 -0800 Subject: 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. --- src/main.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index d83baaf9..ada3927c 100644 --- a/src/main.c +++ b/src/main.c @@ -136,8 +136,6 @@ main (int argc, char *argv[]) GError *err = NULL; guint name_id; - g_type_init (); - /* Setup application context */ mm_context_init (argc, argv); -- cgit v1.2.3-70-g09d2