Mercurial > pidgin
comparison libpurple/protocols/msn/userlist.c @ 25798:aa876d48b5b2
Some more struct hiding.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Fri, 31 Oct 2008 09:24:43 +0000 |
parents | 5ace6c024230 |
children | 8d562557ed6f |
comparison
equal
deleted
inserted
replaced
25797:da46097b4722 | 25798:aa876d48b5b2 |
---|---|
881 GSList *l; | 881 GSList *l; |
882 MsnUser * user; | 882 MsnUser * user; |
883 | 883 |
884 g_return_if_fail(gc != NULL); | 884 g_return_if_fail(gc != NULL); |
885 | 885 |
886 for (gnode = purple_blist_get_root(); gnode; gnode = gnode->next) | 886 for (gnode = purple_blist_get_root(); gnode; |
887 gnode = purple_blist_node_get_sibling_next(gnode)) | |
887 { | 888 { |
888 if (!PURPLE_BLIST_NODE_IS_GROUP(gnode)) | 889 if (!PURPLE_BLIST_NODE_IS_GROUP(gnode)) |
889 continue; | 890 continue; |
890 for (cnode = gnode->child; cnode; cnode = cnode->next) | 891 for (cnode = purple_blist_node_get_first_child(gnode); |
892 cnode; | |
893 cnode = purple_blist_node_get_sibling_next(cnode)) | |
891 { | 894 { |
892 if (!PURPLE_BLIST_NODE_IS_CONTACT(cnode)) | 895 if (!PURPLE_BLIST_NODE_IS_CONTACT(cnode)) |
893 continue; | 896 continue; |
894 for (bnode = cnode->child; bnode; bnode = bnode->next) | 897 for (bnode = purple_blist_node_get_first_child(cnode); |
898 bnode; | |
899 bnode = purple_blist_node_get_sibling_next(bnode)) | |
895 { | 900 { |
896 PurpleBuddy *b; | 901 PurpleBuddy *b; |
897 if (!PURPLE_BLIST_NODE_IS_BUDDY(bnode)) | 902 if (!PURPLE_BLIST_NODE_IS_BUDDY(bnode)) |
898 continue; | 903 continue; |
899 b = (PurpleBuddy *)bnode; | 904 b = (PurpleBuddy *)bnode; |