diff options
author | Dan Winship <danw@src.gnome.org> | 2002-10-27 23:57:41 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2002-10-27 23:57:41 +0800 |
commit | 8e608706e0d2544677fa213b3c17ce83924f6b1e (patch) | |
tree | 58cd517f69164cbe21e52985306bf77c1882a7b5 | |
parent | 363f7b5400c5cf59a42331585bde68e14448140d (diff) | |
download | gsoc2013-evolution-8e608706e0d2544677fa213b3c17ce83924f6b1e.tar gsoc2013-evolution-8e608706e0d2544677fa213b3c17ce83924f6b1e.tar.gz gsoc2013-evolution-8e608706e0d2544677fa213b3c17ce83924f6b1e.tar.bz2 gsoc2013-evolution-8e608706e0d2544677fa213b3c17ce83924f6b1e.tar.lz gsoc2013-evolution-8e608706e0d2544677fa213b3c17ce83924f6b1e.tar.xz gsoc2013-evolution-8e608706e0d2544677fa213b3c17ce83924f6b1e.tar.zst gsoc2013-evolution-8e608706e0d2544677fa213b3c17ce83924f6b1e.zip |
Disconnect from the book's backend_died signal.
* gui/widgets/e-addressbook-model.c (addressbook_destroy):
Disconnect from the book's backend_died signal.
svn path=/trunk/; revision=18446
-rw-r--r-- | addressbook/ChangeLog | 5 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-addressbook-model.c | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 72954ca886..241d257671 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,8 @@ +2002-10-25 Dan Winship <danw@ximian.com> + + * gui/widgets/e-addressbook-model.c (addressbook_destroy): + Disconnect from the book's backend_died signal. + 2002-10-24 Chris Toshok <toshok@ximian.com> * backend/pas/Makefile.am: install evolutionperson.schema to diff --git a/addressbook/gui/widgets/e-addressbook-model.c b/addressbook/gui/widgets/e-addressbook-model.c index 9244df8a38..d93c7c0f86 100644 --- a/addressbook/gui/widgets/e-addressbook-model.c +++ b/addressbook/gui/widgets/e-addressbook-model.c @@ -119,9 +119,13 @@ addressbook_destroy(GtkObject *object) if (model->writable_status_id) gtk_signal_disconnect(GTK_OBJECT (model->book), model->writable_status_id); - model->writable_status_id = 0; + if (model->backend_died_id) + gtk_signal_disconnect(GTK_OBJECT (model->book), + model->backend_died_id); + model->backend_died_id = 0; + gtk_object_unref(GTK_OBJECT(model->book)); model->book = NULL; } |