[couchdb-glib] Fix copy/paste code
- From: Rodrigo Moya <rodrigo src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [couchdb-glib] Fix copy/paste code
- Date: Tue, 22 Sep 2009 12:38:54 +0000 (UTC)
commit 069173f718df80a550a8b56e975ce00019cf35f1
Author: Rodrigo Moya <rodrigo gnome-db org>
Date: Tue Sep 22 14:38:41 2009 +0200
Fix copy/paste code
couchdb-glib/couchdb-document-contact.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/couchdb-glib/couchdb-document-contact.c b/couchdb-glib/couchdb-document-contact.c
index ad8e42e..4e9857e 100644
--- a/couchdb-glib/couchdb-document-contact.c
+++ b/couchdb-glib/couchdb-document-contact.c
@@ -519,7 +519,6 @@ couchdb_document_contact_set_im_addresses (CouchDBDocument *document, GSList *li
JsonObject *im_addresses_json;
g_return_if_fail (COUCHDB_IS_DOCUMENT (document));
- g_return_if_fail (couchdb_document_is_contact (document));
im_addresses_json = json_object_new ();
for (l = list; l != NULL; l = l->next) {
@@ -952,7 +951,7 @@ couchdb_document_contact_im_set_description (CouchDBStructField *sf, const char
g_return_if_fail (sf != NULL);
g_return_if_fail (description != NULL);
- couchdb_struct_field_set_string_field (sf, "address", description);
+ couchdb_struct_field_set_string_field (sf, "description", description);
}
const char *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]