# HG changeset patch # User Richard Laager # Date 1225679438 0 # Node ID 43aeab2bb50e59f6848f09219693578319cc7ab5 # Parent 4210d8eb1708152583b448a25adef91ff02c87a4 A totally untested struct hiding fix. diff -r 4210d8eb1708 -r 43aeab2bb50e pidgin/gtkblist.c --- a/pidgin/gtkblist.c Sun Nov 02 23:02:42 2008 +0000 +++ b/pidgin/gtkblist.c Mon Nov 03 02:30:38 2008 +0000 @@ -512,9 +512,11 @@ int i = 0; char *a = g_utf8_casefold(alias, -1); - for (contact = group->child; contact; contact = contact->next) { + for (contact = purple_blist_node_get_first_child(group); + contact != NULL; + contact = purple_blist_node_get_sibling_next(contact)) { char *node_alias; - if (contact->type != PURPLE_BLIST_CONTACT_NODE) + if (purple_blist_node_get_type(contact) != PURPLE_BLIST_CONTACT_NODE) continue; node_alias = g_utf8_casefold(purple_contact_get_alias((PurpleContact *)contact), -1);