diff options
author | Shaun McCance <shaunm@gnome.org> | 2011-10-13 20:56:28 -0400 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2011-10-21 16:12:55 -0400 |
commit | 52a817ac81130afd0aecc26d147a5c8a5e189219 (patch) | |
tree | dacd240d8144c3dab50f666ac8bbd5ca5cd63ce2 /src | |
parent | 77c8dd510ac265cb64eef221c5fc45dd5a260929 (diff) | |
download | yelp-52a817ac81130afd0aecc26d147a5c8a5e189219.tar.gz |
yelp-window: Fixed a double-unref, I think.
Diffstat (limited to 'src')
-rw-r--r-- | src/yelp-window.c | 10 |
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)) { |