diff options
author | JP Rosevear <jpr@ximian.com> | 2004-02-07 02:22:05 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2004-02-07 02:22:05 +0800 |
commit | f69024938edb58e12fce6bf407c2cf1720caae5a (patch) | |
tree | 93243b5994c2083aee22627b77a35166f659e56a /addressbook | |
parent | e75aa2712e5ae4df8c42c28df7238bd13e0510e9 (diff) | |
download | gsoc2013-evolution-f69024938edb58e12fce6bf407c2cf1720caae5a.tar gsoc2013-evolution-f69024938edb58e12fce6bf407c2cf1720caae5a.tar.gz gsoc2013-evolution-f69024938edb58e12fce6bf407c2cf1720caae5a.tar.bz2 gsoc2013-evolution-f69024938edb58e12fce6bf407c2cf1720caae5a.tar.lz gsoc2013-evolution-f69024938edb58e12fce6bf407c2cf1720caae5a.tar.xz gsoc2013-evolution-f69024938edb58e12fce6bf407c2cf1720caae5a.tar.zst gsoc2013-evolution-f69024938edb58e12fce6bf407c2cf1720caae5a.zip |
implement
2004-02-06 JP Rosevear <jpr@ximian.com>
* importers/evolution-ldif-importer.c (importer_destroy_cb):
implement
svn path=/trunk/; revision=24655
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/ChangeLog | 5 | ||||
-rw-r--r-- | addressbook/importers/evolution-ldif-importer.c | 13 |
2 files changed, 17 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 5065372b2c..0ee151b337 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,5 +1,10 @@ 2004-02-06 JP Rosevear <jpr@ximian.com> + * importers/evolution-ldif-importer.c (importer_destroy_cb): + implement + +2004-02-06 JP Rosevear <jpr@ximian.com> + * importers/evolution-vcard-importer.c (importer_destroy_cb): implement (load_file_fn): use g_file_get_contents to get a string we can diff --git a/addressbook/importers/evolution-ldif-importer.c b/addressbook/importers/evolution-ldif-importer.c index eef9f22d23..f8c697506c 100644 --- a/addressbook/importers/evolution-ldif-importer.c +++ b/addressbook/importers/evolution-ldif-importer.c @@ -555,7 +555,18 @@ static void importer_destroy_cb (gpointer data, GObject *where_object_was) { - /* FIXME Implement */ + LDIFImporter *gci = data; + + if (gci->primary) + g_object_unref (gci->primary); + + if (gci->book) + g_object_unref (gci->book); + + g_list_foreach (gci->contactlist, (GFunc) g_object_unref, NULL); + g_list_free (gci->contactlist); + + g_free (gci); } static gboolean |