[empathy] don't free content of the list returned by empathy_connection_aggregator_get_all_groups()
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] don't free content of the list returned by empathy_connection_aggregator_get_all_groups()
- Date: Tue, 17 Jan 2012 08:26:11 +0000 (UTC)
commit 40aba36f8560ebbeae32c29f472576f80adec1e9
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon Jan 16 15:38:37 2012 +0100
don't free content of the list returned by empathy_connection_aggregator_get_all_groups()
https://bugzilla.gnome.org/show_bug.cgi?id=667037
libempathy-gtk/empathy-groups-widget.c | 2 --
libempathy/empathy-connection-aggregator.c | 1 +
2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libempathy-gtk/empathy-groups-widget.c b/libempathy-gtk/empathy-groups-widget.c
index efb58fa..5d87ef4 100644
--- a/libempathy-gtk/empathy-groups-widget.c
+++ b/libempathy-gtk/empathy-groups-widget.c
@@ -182,8 +182,6 @@ populate_data (EmpathyGroupsWidget *self)
COL_EDITABLE, TRUE,
COL_ENABLED, enabled,
-1);
-
- g_free (l->data);
}
g_list_free (all_groups);
diff --git a/libempathy/empathy-connection-aggregator.c b/libempathy/empathy-connection-aggregator.c
index 22d5ab8..fde365c 100644
--- a/libempathy/empathy-connection-aggregator.c
+++ b/libempathy/empathy-connection-aggregator.c
@@ -231,6 +231,7 @@ empathy_connection_aggregator_dup_singleton (void)
return aggregator;
}
+/* (transfer container) */
GList *
empathy_connection_aggregator_get_all_groups (EmpathyConnectionAggregator *self)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]