[couchdb-glib] Use SoupSessionSync, e-d-s doesn't like the Async version for async contacts backends



commit 2ad06808a7ae762f90c0a01e99648469c8588678
Author: Rodrigo Moya <rodrigo gnome-db org>
Date:   Thu Jun 18 17:52:46 2009 +0200

    Use SoupSessionSync, e-d-s doesn't like the Async version for async contacts backends

 couchdb-glib/couchdb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/couchdb-glib/couchdb.c b/couchdb-glib/couchdb.c
index d93f076..5b9acd7 100644
--- a/couchdb-glib/couchdb.c
+++ b/couchdb-glib/couchdb.c
@@ -58,7 +58,7 @@ couchdb_new (const char *hostname)
 
 	couchdb = g_object_new (COUCHDB_TYPE, NULL);
 	couchdb->hostname = hostname ? g_strdup (hostname) : g_strdup ("localhost:5984");
-	couchdb->http_session = soup_session_async_new_with_options (
+	couchdb->http_session = soup_session_sync_new_with_options (
 		SOUP_SESSION_ADD_FEATURE_BY_TYPE, SOUP_TYPE_GNOME_FEATURES_2_26,
                 NULL);
 	soup_session_add_feature_by_type (couchdb->http_session, SOUP_TYPE_LOGGER);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]