diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2003-08-16 02:45:18 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2003-08-16 02:45:18 +0800 |
commit | 0595eace5611dd1c9741f7ea94af96f8c55ddc45 (patch) | |
tree | 84a5c4a6d61bba421a5a6f96e188dcdde43e7c3e /addressbook | |
parent | a23c06806c9f5d8b1322a083fe05afef7b3f6379 (diff) | |
download | gsoc2013-evolution-0595eace5611dd1c9741f7ea94af96f8c55ddc45.tar.gz gsoc2013-evolution-0595eace5611dd1c9741f7ea94af96f8c55ddc45.tar.zst gsoc2013-evolution-0595eace5611dd1c9741f7ea94af96f8c55ddc45.zip |
unref the EComponentListener before unloading the CORBA object.
2003-08-12 Rodrigo Moya <rodrigo@ximian.com>
* backend/ebook/e-book.c (e_book_dispose): unref the
EComponentListener before unloading the CORBA object.
svn path=/trunk/; revision=22248
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/ChangeLog | 5 | ||||
-rw-r--r-- | addressbook/backend/ebook/e-book.c | 12 |
2 files changed, 11 insertions, 6 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 29616ad745..24a87ee8d6 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,8 @@ +2003-08-12 Rodrigo Moya <rodrigo@ximian.com> + + * backend/ebook/e-book.c (e_book_dispose): unref the + EComponentListener before unloading the CORBA object. + 2003-08-12 Hans Petter Jansson <hpj@ximian.com> * backend/ebook/e-destination.c (e_destination_dispose): Chain. diff --git a/addressbook/backend/ebook/e-book.c b/addressbook/backend/ebook/e-book.c index b4e5b80fbd..08a0aac995 100644 --- a/addressbook/backend/ebook/e-book.c +++ b/addressbook/backend/ebook/e-book.c @@ -1592,6 +1592,12 @@ e_book_dispose (GObject *object) CORBA_Environment ev; GList *l; + if (book->priv->comp_listener) { + g_signal_handler_disconnect (book->priv->comp_listener, book->priv->died_signal); + g_object_unref (book->priv->comp_listener); + book->priv->comp_listener = NULL; + } + if (book->priv->load_state == URILoaded) e_book_unload_uri (book); @@ -1615,12 +1621,6 @@ e_book_dispose (GObject *object) book->priv->listener = NULL; } - if (book->priv->comp_listener) { - g_signal_handler_disconnect (book->priv->comp_listener, book->priv->died_signal); - g_object_unref (book->priv->comp_listener); - book->priv->comp_listener = NULL; - } - g_free (book->priv->cap); g_free (book->priv->uri); |