summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-11-20 11:13:38 +0000
committerRichard Hughes <richard@hughsie.com>2014-11-20 11:13:38 +0000
commit632f4d3bc02a10f4d68bac25eaf55432082fce63 (patch)
treef51c6d62cc099385b8dccf8d7760d81cbe312633 /tools
parenta5e62b7d078520f79f7b5c9dfc3492091b60530f (diff)
downloadgusb-632f4d3bc02a10f4d68bac25eaf55432082fce63.tar.gz
trivial: Do not use the deprecated g_type_init()
Diffstat (limited to 'tools')
-rw-r--r--tools/gusb-main.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/gusb-main.c b/tools/gusb-main.c
index 4fd90b8..8ebc96a 100644
--- a/tools/gusb-main.c
+++ b/tools/gusb-main.c
@@ -1,6 +1,6 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
*
- * Copyright (C) 2011 Richard Hughes <richard@hughsie.com>
+ * Copyright (C) 2011-2014 Richard Hughes <richard@hughsie.com>
*
* Licensed under the GNU General Public License Version 2
*
@@ -312,10 +312,6 @@ main (int argc, char *argv[])
/* create helper object */
priv = g_slice_new0 (GUsbCmdPrivate);
- if (! g_thread_supported ())
- g_thread_init (NULL);
- g_type_init ();
-
priv->context = g_option_context_new ("GUSB Console Program");
g_option_context_add_main_entries (priv->context, options, NULL);
g_option_context_parse (priv->context, &argc, &argv, NULL);