[evolution-mapi] Use field_id in GAL's e_contact_field_name call



commit 7ee73b03e5b0b408f3fb490ad84a8bd441522b7e
Author: Milan Crha <mcrha redhat com>
Date:   Mon Feb 15 15:06:38 2010 +0100

    Use field_id in GAL's e_contact_field_name call

 src/addressbook/e-book-backend-mapi-gal.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/addressbook/e-book-backend-mapi-gal.c b/src/addressbook/e-book-backend-mapi-gal.c
index 2a8020e..4a31de7 100644
--- a/src/addressbook/e-book-backend-mapi-gal.c
+++ b/src/addressbook/e-book-backend-mapi-gal.c
@@ -930,7 +930,7 @@ static void e_book_backend_mapi_gal_class_init (EBookBackendMAPIGALClass *klass)
 	supported_fields = NULL;
 	for (i = 0; i < maplen; i++) {
 		supported_fields = g_list_append (supported_fields,
-						  (gchar *)e_contact_field_name (mappings[i].mapi_id));
+						  (gchar *)e_contact_field_name (mappings[i].field_id));
 	}
 	supported_fields = g_list_append (supported_fields, (gpointer) "file_as");
 }



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