diff options
Diffstat (limited to 'addressbook/importers')
-rw-r--r-- | addressbook/importers/evolution-csv-importer.c | 10 | ||||
-rw-r--r-- | addressbook/importers/evolution-ldif-importer.c | 10 |
2 files changed, 16 insertions, 4 deletions
diff --git a/addressbook/importers/evolution-csv-importer.c b/addressbook/importers/evolution-csv-importer.c index 69e82957d6..122a0e40f0 100644 --- a/addressbook/importers/evolution-csv-importer.c +++ b/addressbook/importers/evolution-csv-importer.c @@ -559,11 +559,17 @@ parseLine (CSVImporter *gci, EContact *contact, gchar *buf) { break; case FLAG_DATE_BDAY: - e_contact_set (contact, E_CONTACT_BIRTH_DATE, date_from_string (value->str)); + e_contact_set ( + contact, + E_CONTACT_BIRTH_DATE, + date_from_string (value->str)); break; case FLAG_DATE_ANNIVERSARY: - e_contact_set (contact, E_CONTACT_ANNIVERSARY, date_from_string (value->str)); + e_contact_set ( + contact, + E_CONTACT_ANNIVERSARY, + date_from_string (value->str)); break; case FLAG_BIRTH_DAY: diff --git a/addressbook/importers/evolution-ldif-importer.c b/addressbook/importers/evolution-ldif-importer.c index d8d5e6e754..388d410611 100644 --- a/addressbook/importers/evolution-ldif-importer.c +++ b/addressbook/importers/evolution-ldif-importer.c @@ -287,10 +287,16 @@ parseLine (GHashTable *dn_contact_hash, EContact *contact, } else if (ldif_fields[i].flags & FLAG_BOOLEAN) { if (!g_ascii_strcasecmp (ldif_value->str, "true")) { - e_contact_set (contact, ldif_fields[i].contact_field, GINT_TO_POINTER (TRUE)); + e_contact_set ( + contact, + ldif_fields[i].contact_field, + GINT_TO_POINTER (TRUE)); } else { - e_contact_set (contact, ldif_fields[i].contact_field, GINT_TO_POINTER (FALSE)); + e_contact_set ( + contact, + ldif_fields[i].contact_field, + GINT_TO_POINTER (FALSE)); } g_message ("set %s to %s", ptr, ldif_value->str); } |