diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-08 00:22:36 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-05-08 06:48:38 +0800 |
commit | 4cfb84c573f21ca7519e24cff1c5742b715355c4 (patch) | |
tree | 92314a7c4ebb1b82f5bbe0e48856e23f06dcfc95 /addressbook/importers | |
parent | c7b455de89487e606fc620420c1778f5e55afcac (diff) | |
download | gsoc2013-evolution-4cfb84c573f21ca7519e24cff1c5742b715355c4.tar gsoc2013-evolution-4cfb84c573f21ca7519e24cff1c5742b715355c4.tar.gz gsoc2013-evolution-4cfb84c573f21ca7519e24cff1c5742b715355c4.tar.bz2 gsoc2013-evolution-4cfb84c573f21ca7519e24cff1c5742b715355c4.tar.lz gsoc2013-evolution-4cfb84c573f21ca7519e24cff1c5742b715355c4.tar.xz gsoc2013-evolution-4cfb84c573f21ca7519e24cff1c5742b715355c4.tar.zst gsoc2013-evolution-4cfb84c573f21ca7519e24cff1c5742b715355c4.zip |
Whitespace and coding style cleanups.
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); } |