[gobject-introspection] dumper: Don't call g_thread_init(), g_type_init() is enough
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] dumper: Don't call g_thread_init(), g_type_init() is enough
- Date: Wed, 12 Oct 2011 13:50:46 +0000 (UTC)
commit 2fff9866fd7f9de0fb8a7ac08d6c27a14c1f3f42
Author: Colin Walters <walters verbum org>
Date: Wed Oct 12 09:49:06 2011 -0400
dumper: Don't call g_thread_init(), g_type_init() is enough
g_thread_init() is deprecated, and unnecessary since GLib 2.24.
giscanner/dumper.py | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/giscanner/dumper.py b/giscanner/dumper.py
index 1a8fdb5..9b20f38 100644
--- a/giscanner/dumper.py
+++ b/giscanner/dumper.py
@@ -45,7 +45,6 @@ main(int argc, char **argv)
GError *error = NULL;
const char *introspect_dump_prefix = "--introspect-dump=";
- if (!g_thread_supported ()) g_thread_init (NULL);
g_type_init ();
%(init_sections)s
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]