Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/jabber.c @ 25289:aa876d48b5b2
Some more struct hiding.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Fri, 31 Oct 2008 09:24:43 +0000 |
parents | 5ace6c024230 |
children | 10e1f3c1d0db |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c Fri Oct 31 08:21:45 2008 +0000 +++ b/libpurple/protocols/jabber/jabber.c Fri Oct 31 09:24:43 2008 +0000 @@ -1881,8 +1881,11 @@ if(!(jid = jabber_id_new(name))) return NULL; - for(gnode = purple_blist_get_root(); gnode; gnode = gnode->next) { - for(cnode = gnode->child; cnode; cnode = cnode->next) { + for(gnode = purple_blist_get_root(); gnode; + gnode = purple_blist_node_get_sibling_next(gnode)) { + for(cnode = purple_blist_node_get_first_child(gnode); + cnode; + cnode = purple_blist_node_get_sibling_next(cnode)) { PurpleChat *chat = (PurpleChat*)cnode; const char *room, *server; GHashTable *components;