From d14a8aff48381ea97e68b7996e1b7bb2f7a923fb Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 7 Sep 2011 16:14:24 +0200 Subject: [PATCH] gcr: Fix extra object reference in gcr_union_collection_take() --- gcr/gcr-union-collection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.7.4