[gnome-bluetooth] [PATCH 07/12] trivial: remove call to depreceted g_type_init
Ladislav Michl
ladis at linux-mips.org
Sun Jan 15 04:45:55 EST 2017
Since GLib 2.36, the type system is initialised automatically
and this function does nothing.
Signed-off-by: Ladislav Michl <ladis at linux-mips.org>
---
libgsm/glibgsmtest.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/libgsm/glibgsmtest.c b/libgsm/glibgsmtest.c
index 9a94616..eb3316a 100644
--- a/libgsm/glibgsmtest.c
+++ b/libgsm/glibgsmtest.c
@@ -1,5 +1,5 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
-/*
+/*
* Copyright (C) 2002-2004 Edd Dumbill <edd at usefulinc.com>
* Copyright (C) 2005-2007 Bastien Nocera <hadess at hadess.net>
*
@@ -137,14 +137,12 @@ main (int argc, char **argv)
context = g_option_context_new (_("- Manage your mobile phone"));
g_option_context_add_main_entries (context, entries, GETTEXT_PACKAGE);
- g_type_init ();
-
if (g_option_context_parse (context, &argc, &argv, &err) == FALSE) {
g_printerr ("Couldn't parse command-line options: %s\n", err->message);
g_error_free (err);
return 1;
}
-
+
listener = phonemgr_listener_new (debug);
g_signal_connect (G_OBJECT (listener), "message",
--
2.11.0
More information about the gnome-bluetooth
mailing list