summaryrefslogtreecommitdiff
path: root/tests/xml.c
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2012-01-03 14:59:08 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2012-06-16 11:05:56 +0200
commit7ca54a3faae13ae505e521182a8c368fe4c619a9 (patch)
treea5cccfd3b2868481d353c83bf0b387044fe4d41b /tests/xml.c
parent4e98bedef030b6163bb8d3d26053447a4f97f61a (diff)
downloadlibrest-7ca54a3faae13ae505e521182a8c368fe4c619a9.tar.gz
Drop obsolete g_thread_init()
Since version 2.2 g_type_init() initializes also the thread system so g_thread_init() is not required anymore. It is deprecated since glib 2.31. Bump glib requirement accordingly. https://bugzilla.gnome.org/show_bug.cgi?id=650061
Diffstat (limited to 'tests/xml.c')
-rw-r--r--tests/xml.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/xml.c b/tests/xml.c
index 4a5f2c0..85af973 100644
--- a/tests/xml.c
+++ b/tests/xml.c
@@ -33,7 +33,6 @@ main (int argc, char **argv)
RestXmlNode *root, *node;
char *xml;
- g_thread_init (NULL);
g_type_init ();
parser = rest_xml_parser_new ();