[evolution-groupwise] Call g_thread_init() conditionally
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-groupwise] Call g_thread_init() conditionally
- Date: Mon, 24 Oct 2011 07:57:16 +0000 (UTC)
commit 2adf1d70abc3daf5afedc29cb7220a47ab7e8a33
Author: Milan Crha <mcrha redhat com>
Date: Mon Oct 24 09:57:03 2011 +0200
Call g_thread_init() conditionally
src/server/soap-test.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/server/soap-test.c b/src/server/soap-test.c
index 50e375c..5048b9a 100644
--- a/src/server/soap-test.c
+++ b/src/server/soap-test.c
@@ -50,7 +50,9 @@ main (gint argc,
gchar *argv[])
{
g_type_init ();
+ #if !GLIB_CHECK_VERSION(2,31,0)
g_thread_init (NULL);
+ #endif
/* Hostname Eg: http(s)://domain_name:/port_number/soap */
if (argc != 3 && argc != 4) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]