Mercurial > pidgin
comparison libpurple/protocols/novell/novell.c @ 25798:aa876d48b5b2
Some more struct hiding.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Fri, 31 Oct 2008 09:24:43 +0000 |
parents | 16734635febf |
children | 8aa7d8bcbc7d |
comparison
equal
deleted
inserted
replaced
25797:da46097b4722 | 25798:aa876d48b5b2 |
---|---|
1235 GSList *rem_list = NULL; | 1235 GSList *rem_list = NULL; |
1236 GSList *l; | 1236 GSList *l; |
1237 NMFolder *folder = NULL; | 1237 NMFolder *folder = NULL; |
1238 const char *gname = NULL; | 1238 const char *gname = NULL; |
1239 | 1239 |
1240 for (gnode = purple_blist_get_root(); gnode; gnode = gnode->next) { | 1240 for (gnode = purple_blist_get_root(); gnode; |
1241 gnode = purple_blist_node_get_sibling_next(gnode)) { | |
1241 if (!PURPLE_BLIST_NODE_IS_GROUP(gnode)) | 1242 if (!PURPLE_BLIST_NODE_IS_GROUP(gnode)) |
1242 continue; | 1243 continue; |
1243 group = (PurpleGroup *) gnode; | 1244 group = (PurpleGroup *) gnode; |
1244 gname = purple_group_get_name(group); | 1245 gname = purple_group_get_name(group); |
1245 for (cnode = gnode->child; cnode; cnode = cnode->next) { | 1246 for (cnode = purple_blist_node_get_first_child(gnode); |
1247 cnode; | |
1248 cnode = purple_blist_node_get_sibling_next(cnode)) { | |
1246 if (!PURPLE_BLIST_NODE_IS_CONTACT(cnode)) | 1249 if (!PURPLE_BLIST_NODE_IS_CONTACT(cnode)) |
1247 continue; | 1250 continue; |
1248 for (bnode = cnode->child; bnode; bnode = bnode->next) { | 1251 for (bnode = purple_blist_node_get_first_child(cnode); |
1252 bnode; | |
1253 bnode = purple_blist_node_get_sibling_next(bnode)) { | |
1249 if (!PURPLE_BLIST_NODE_IS_BUDDY(bnode)) | 1254 if (!PURPLE_BLIST_NODE_IS_BUDDY(bnode)) |
1250 continue; | 1255 continue; |
1251 buddy = (PurpleBuddy *) bnode; | 1256 buddy = (PurpleBuddy *) bnode; |
1252 if (purple_buddy_get_account(buddy) == user->client_data) { | 1257 if (purple_buddy_get_account(buddy) == user->client_data) { |
1253 if (strcmp(gname, NM_ROOT_FOLDER_NAME) == 0) | 1258 if (strcmp(gname, NM_ROOT_FOLDER_NAME) == 0) |