diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2010-07-01 21:26:04 +0800 |
---|---|---|
committer | Travis Reitter <treitter@gmail.com> | 2010-07-21 07:12:36 +0800 |
commit | 2999dda22d4d80df40420334273fcbb7aadac091 (patch) | |
tree | 549463c23113f3228b6e789ebfba4920d3427a1b /libempathy-gtk/empathy-individual-store.c | |
parent | 336c38712dde2938b1ead01f05e1cd01f96c888d (diff) | |
download | gsoc2013-empathy-2999dda22d4d80df40420334273fcbb7aadac091.tar gsoc2013-empathy-2999dda22d4d80df40420334273fcbb7aadac091.tar.gz gsoc2013-empathy-2999dda22d4d80df40420334273fcbb7aadac091.tar.bz2 gsoc2013-empathy-2999dda22d4d80df40420334273fcbb7aadac091.tar.lz gsoc2013-empathy-2999dda22d4d80df40420334273fcbb7aadac091.tar.xz gsoc2013-empathy-2999dda22d4d80df40420334273fcbb7aadac091.tar.zst gsoc2013-empathy-2999dda22d4d80df40420334273fcbb7aadac091.zip |
Fix some referencing bugs with the IndividualStore and IndividualView
Diffstat (limited to 'libempathy-gtk/empathy-individual-store.c')
-rw-r--r-- | libempathy-gtk/empathy-individual-store.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libempathy-gtk/empathy-individual-store.c b/libempathy-gtk/empathy-individual-store.c index a75ec3a8a..0f607c59d 100644 --- a/libempathy-gtk/empathy-individual-store.c +++ b/libempathy-gtk/empathy-individual-store.c @@ -925,8 +925,6 @@ individual_store_dispose (GObject *object) { g_signal_handlers_disconnect_by_func (l->data, G_CALLBACK (individual_store_contact_updated_cb), object); - - g_object_unref (l->data); } g_list_free (contacts); @@ -1455,8 +1453,6 @@ empathy_individual_store_set_show_offline (EmpathyIndividualStore *self, for (l = contacts; l; l = l->next) { individual_store_contact_update (self, l->data); - - g_object_unref (l->data); } g_list_free (contacts); @@ -1512,6 +1508,8 @@ individual_store_update_list_mode_foreach (GtkTreeModel *model, EMPATHY_INDIVIDUAL_STORE_COL_PIXBUF_AVATAR_VISIBLE, show_avatar, EMPATHY_INDIVIDUAL_STORE_COL_COMPACT, priv->is_compact, -1); + g_object_unref (individual); + return FALSE; } @@ -1616,7 +1614,6 @@ empathy_individual_store_set_show_groups (EmpathyIndividualStore *self, individual_store_members_changed_cb (priv->manager, "re-adding members: toggled group visibility", contacts, NULL, 0, self); - g_list_foreach (contacts, (GFunc) g_free, NULL); g_list_free (contacts); } |