summaryrefslogtreecommitdiff
path: root/tests/custom-serialize.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/custom-serialize.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/custom-serialize.c')
-rw-r--r--tests/custom-serialize.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/custom-serialize.c b/tests/custom-serialize.c
index f435070..3f8cb80 100644
--- a/tests/custom-serialize.c
+++ b/tests/custom-serialize.c
@@ -124,7 +124,6 @@ main (int argc, char **argv)
int i;
GError *error;
- g_thread_init (NULL);
g_type_init ();
session = soup_session_sync_new ();