[gnome-keyring: 8/12] gcr: Fix extra object reference in gcr_union_collection_take()
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-keyring: 8/12] gcr: Fix extra object reference in gcr_union_collection_take()
- Date: Mon, 19 Sep 2011 07:39:16 +0000 (UTC)
commit 15efaf1a8397e5aa4c52c8d78b9cacbd0fe3440c
Author: Stef Walter <stefw collabora co uk>
Date: Wed Sep 7 16:14:24 2011 +0200
gcr: Fix extra object reference in gcr_union_collection_take()
gcr/gcr-union-collection.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gcr/gcr-union-collection.c b/gcr/gcr-union-collection.c
index d331c67..558590f 100644
--- a/gcr/gcr-union-collection.c
+++ b/gcr/gcr-union-collection.c
@@ -265,7 +265,7 @@ gcr_union_collection_take (GcrUnionCollection *self,
g_object_ref (collection);
- g_hash_table_insert (self->pv->collections, g_object_ref (collection), collection);
+ g_hash_table_insert (self->pv->collections, collection, collection);
connect_to_collection (self, collection);
objects = gcr_collection_get_objects (collection);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]