diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2007-06-21 23:19:49 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2007-06-21 23:19:49 +0800 |
commit | e0617b2fc06f59bfcfbd1f03a4364ba12294e718 (patch) | |
tree | 81603b1efcd16b7aa5e45b47a9c902804d2e439d /libempathy-gtk/gossip-contact-list-view.c | |
parent | b59ff7a94fab8dd50fae90d0fcc9c03b2de010ac (diff) | |
download | gsoc2013-empathy-e0617b2fc06f59bfcfbd1f03a4364ba12294e718.tar gsoc2013-empathy-e0617b2fc06f59bfcfbd1f03a4364ba12294e718.tar.gz gsoc2013-empathy-e0617b2fc06f59bfcfbd1f03a4364ba12294e718.tar.bz2 gsoc2013-empathy-e0617b2fc06f59bfcfbd1f03a4364ba12294e718.tar.lz gsoc2013-empathy-e0617b2fc06f59bfcfbd1f03a4364ba12294e718.tar.xz gsoc2013-empathy-e0617b2fc06f59bfcfbd1f03a4364ba12294e718.tar.zst gsoc2013-empathy-e0617b2fc06f59bfcfbd1f03a4364ba12294e718.zip |
We show in our roster all contacts members and remote-pending of subscribe
2007-06-21 Xavier Claessens <xclaesse@gmail.com>
* libempathy-gtk/empathy-contact-dialogs.c:
* libempathy-gtk/gossip-contact-list-store.c:
* libempathy-gtk/gossip-contact-list-view.c:
* libempathy/empathy-contact-manager.c:
* libempathy/empathy-tp-contact-list.c:
* libempathy/empathy-contact-list.c:
* libempathy/empathy-contact-list.h:
* libempathy/gossip-contact.c: We show in our roster all contacts
members and remote-pending of subscribe list. Adding/Removing a contact
only add/remove from subscribe list. Accept/Reject a contact in
local-pending of publish list is done using _process_pending().
svn path=/trunk/; revision=164
Diffstat (limited to 'libempathy-gtk/gossip-contact-list-view.c')
-rw-r--r-- | libempathy-gtk/gossip-contact-list-view.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy-gtk/gossip-contact-list-view.c b/libempathy-gtk/gossip-contact-list-view.c index 8b42ab18e..5c3fd274d 100644 --- a/libempathy-gtk/gossip-contact-list-view.c +++ b/libempathy-gtk/gossip-contact-list-view.c @@ -1387,14 +1387,15 @@ contact_list_view_filter_show_group (GossipContactListView *view, contacts = empathy_contact_list_get_members (list); for (l = contacts; l && !show_group; l = l->next) { if (!gossip_contact_is_in_group (l->data, group)) { + g_object_unref (l->data); continue; } if (contact_list_view_filter_show_contact (l->data, filter)) { show_group = TRUE; } + g_object_unref (l->data); } - g_list_foreach (contacts, (GFunc) g_object_unref, NULL); g_list_free (contacts); g_free (str); |