summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun McCance <shaunm@gnome.org>2011-10-13 20:56:28 -0400
committerShaun McCance <shaunm@gnome.org>2011-10-21 16:12:55 -0400
commit52a817ac81130afd0aecc26d147a5c8a5e189219 (patch)
treedacd240d8144c3dab50f666ac8bbd5ca5cd63ce2
parent77c8dd510ac265cb64eef221c5fc45dd5a260929 (diff)
downloadyelp-52a817ac81130afd0aecc26d147a5c8a5e189219.tar.gz
yelp-window: Fixed a double-unref, I think.
-rw-r--r--src/yelp-window.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/yelp-window.c b/src/yelp-window.c
index d3ce9ab7..f4ef2ce2 100644
--- a/src/yelp-window.c
+++ b/src/yelp-window.c
@@ -1478,7 +1478,15 @@ share_folks_quiescent (FolksIndividualAggregator *folks,
GeeMap *individuals;
GeeMapIterator *mapiter;
- individuals = folks_individual_aggregator_get_individuals (folks);
+ /* I realize there's folks_individual_aggregator_get_individuals,
+ but I think it doesn't ref, or it does, or something else. Who
+ knows? I don't feel like untangling the web of libgee and vala.
+ I know g_object_get always refs objects. Life is easier when
+ things are predictable.
+ */
+ g_object_get (folks,
+ "individuals", &individuals,
+ NULL);
mapiter = gee_map_map_iterator (individuals);
while (gee_map_iterator_next (mapiter)) {