[yelp] yelp-window: Fixed a double-unref, I think.
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp] yelp-window: Fixed a double-unref, I think.
- Date: Fri, 21 Oct 2011 21:35:54 +0000 (UTC)
commit 52a817ac81130afd0aecc26d147a5c8a5e189219
Author: Shaun McCance <shaunm gnome org>
Date: Thu Oct 13 20:56:28 2011 -0400
yelp-window: Fixed a double-unref, I think.
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 d3ce9ab..f4ef2ce 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)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]