aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-04-03 05:43:45 +0800
committerIain Holmes <iain@src.gnome.org>2001-04-03 05:43:45 +0800
commit0dfb7852f0ac6c2a52dab674516845c2b97fbb56 (patch)
treefb02280b778e16cf59e1a2f1309c2ebb05fd1765
parent4590eb4220de4935a55b3cc82cc4b96d2c9a8436 (diff)
downloadgsoc2013-evolution-0dfb7852f0ac6c2a52dab674516845c2b97fbb56.tar
gsoc2013-evolution-0dfb7852f0ac6c2a52dab674516845c2b97fbb56.tar.gz
gsoc2013-evolution-0dfb7852f0ac6c2a52dab674516845c2b97fbb56.tar.bz2
gsoc2013-evolution-0dfb7852f0ac6c2a52dab674516845c2b97fbb56.tar.lz
gsoc2013-evolution-0dfb7852f0ac6c2a52dab674516845c2b97fbb56.tar.xz
gsoc2013-evolution-0dfb7852f0ac6c2a52dab674516845c2b97fbb56.tar.zst
gsoc2013-evolution-0dfb7852f0ac6c2a52dab674516845c2b97fbb56.zip
Unref and unregister the factory on exit
svn path=/trunk/; revision=9106
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/backend/ebook/evolution-gnomecard-importer.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 0b50538b45..121ce5ec24 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,8 @@
+2001-04-02 Iain Holmes <iain@ximian.com>
+
+ * backend/ebook/evolution-gnomecard-importer.c (importer_init): Shut
+ down and unregister the factory on exit.
+
2001-04-01 Gediminas Paulauskas <menesis@delfi.lt>
* contact-editor/contact-editor.glade: changed icon to
diff --git a/addressbook/backend/ebook/evolution-gnomecard-importer.c b/addressbook/backend/ebook/evolution-gnomecard-importer.c
index 9329ab9a86..9a5d15730b 100644
--- a/addressbook/backend/ebook/evolution-gnomecard-importer.c
+++ b/addressbook/backend/ebook/evolution-gnomecard-importer.c
@@ -186,6 +186,8 @@ importer_init (void)
if (factory == NULL) {
g_error ("Unable to create factory");
}
+
+ bonobo_running_context_auto_exit_unref (BONOBO_OBJECT (factory));
}
int