aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/importers/evolution-vcard-importer.c
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2004-02-07 03:30:46 +0800
committerChris Toshok <toshok@src.gnome.org>2004-02-07 03:30:46 +0800
commit0031585d9079e37f4b2793006a45aacbf65a3a46 (patch)
tree4d1bf9d20cec2f19222df47a0b7a28a096a722ed /addressbook/importers/evolution-vcard-importer.c
parentea98c232211430247553c404d20911af2158ef73 (diff)
downloadgsoc2013-evolution-0031585d9079e37f4b2793006a45aacbf65a3a46.tar
gsoc2013-evolution-0031585d9079e37f4b2793006a45aacbf65a3a46.tar.gz
gsoc2013-evolution-0031585d9079e37f4b2793006a45aacbf65a3a46.tar.bz2
gsoc2013-evolution-0031585d9079e37f4b2793006a45aacbf65a3a46.tar.lz
gsoc2013-evolution-0031585d9079e37f4b2793006a45aacbf65a3a46.tar.xz
gsoc2013-evolution-0031585d9079e37f4b2793006a45aacbf65a3a46.tar.zst
gsoc2013-evolution-0031585d9079e37f4b2793006a45aacbf65a3a46.zip
only set the address if something in it's been filled in.
2004-02-06 Chris Toshok <toshok@ximian.com> * importers/evolution-ldif-importer.c (getNextLDIFEntry): only set the address if something in it's been filled in. (resolve_list_card): build up a separate list representing the xml formatted crud. (process_item_fn): remove FIXME. (factory_fn): use g_new0 since we test for NULL-ness later on. * importers/evolution-vcard-importer.c (factory_fn): use g_new0 since we test for NULL-ness later on. svn path=/trunk/; revision=24659
Diffstat (limited to 'addressbook/importers/evolution-vcard-importer.c')
-rw-r--r--addressbook/importers/evolution-vcard-importer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/importers/evolution-vcard-importer.c b/addressbook/importers/evolution-vcard-importer.c
index 45dbacf537..f6fab08983 100644
--- a/addressbook/importers/evolution-vcard-importer.c
+++ b/addressbook/importers/evolution-vcard-importer.c
@@ -270,7 +270,7 @@ factory_fn (BonoboGenericFactory *_factory,
VCardImporter *gci;
if (!strcmp (component_id, COMPONENT_IID)) {
- gci = g_new (VCardImporter, 1);
+ gci = g_new0 (VCardImporter, 1);
importer = evolution_importer_new (create_control_fn, support_format_fn,
load_file_fn, process_item_fn, NULL, gci);