[seahorse] Don't fire events when disposing of SeahorseSet
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [seahorse] Don't fire events when disposing of SeahorseSet
- Date: Wed, 7 Sep 2011 06:19:14 +0000 (UTC)
commit bd364996e61709247c36c448f881b103462bc137
Author: Stef Walter <stefw collabora co uk>
Date: Tue Sep 6 16:03:03 2011 +0200
Don't fire events when disposing of SeahorseSet
https://bugzilla.gnome.org/show_bug.cgi?id=656297
libseahorse/seahorse-set.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libseahorse/seahorse-set.c b/libseahorse/seahorse-set.c
index 9ce8078..79f4c3a 100644
--- a/libseahorse/seahorse-set.c
+++ b/libseahorse/seahorse-set.c
@@ -155,8 +155,7 @@ seahorse_set_dispose (GObject *gobject)
g_signal_handlers_disconnect_by_func (SCTX_APP (), object_removed, skset);
g_signal_handlers_disconnect_by_func (SCTX_APP (), object_changed, skset);
- /* Release all our pointers and stuff */
- g_hash_table_foreach_remove (skset->pv->objects, (GHRFunc)remove_update, skset);
+ g_hash_table_remove_all (skset->pv->objects);
skset->pv->pred = NULL;
G_OBJECT_CLASS (seahorse_set_parent_class)->dispose (gobject);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]