[couchdb-glib] Fixed typo in postal address's street field name



commit 94798a973683e85563c3c1efda29e33c58686ba5
Author: Rodrigo Moya <rodrigo gnome-db org>
Date:   Thu Nov 12 19:21:16 2009 +0100

    Fixed typo in postal address's street field name

 couchdb-glib/couchdb-document-contact.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/couchdb-glib/couchdb-document-contact.c b/couchdb-glib/couchdb-document-contact.c
index 2950570..47b3b3a 100644
--- a/couchdb-glib/couchdb-document-contact.c
+++ b/couchdb-glib/couchdb-document-contact.c
@@ -786,7 +786,7 @@ couchdb_document_contact_address_get_street (CouchDBStructField *sf)
 {
 	g_return_val_if_fail (sf != NULL, NULL);
 
-	return couchdb_struct_field_get_string_field (sf, "address1");
+	return couchdb_struct_field_get_string_field (sf, "street");
 }
 
 void
@@ -794,7 +794,7 @@ couchdb_document_contact_address_set_street (CouchDBStructField *sf, const char
 {
 	g_return_if_fail (sf != NULL);
 
-	couchdb_struct_field_set_string_field (sf, "address1", street);
+	couchdb_struct_field_set_string_field (sf, "street", street);
 }
 
 const char *



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