src/list.c

changeset 4690
e30dbd5b361f
parent 4687
91ad36873636
child 4695
82df59fb9931
equal deleted inserted replaced
4689:524a0357d05b 4690:e30dbd5b361f
70 GaimBlistNode *group = gaimbuddylist->root; 70 GaimBlistNode *group = gaimbuddylist->root;
71 GaimBlistNode *buddy; 71 GaimBlistNode *buddy;
72 if (!gaimbuddylist) 72 if (!gaimbuddylist)
73 return; 73 return;
74 while (group) { 74 while (group) {
75 debug_printf("+-%s %d\n", ((struct group*)group)->name, group); 75 debug_printf("+-%s %p\n", ((struct group*)group)->name, group);
76 buddy = group->child; 76 buddy = group->child;
77 while (buddy) { 77 while (buddy) {
78 debug_printf("|--- %d %s\t\t%d\n", ((struct buddy*)buddy)->present, ((struct buddy*)buddy)->name, ((struct buddy*)buddy)->idle); 78 debug_printf("|--- %d %s\t\t%d\n", ((struct buddy*)buddy)->present, ((struct buddy*)buddy)->name, ((struct buddy*)buddy)->idle);
79 buddy = buddy->next; 79 buddy = buddy->next;
80 } 80 }
101 } 101 }
102 102
103 void gaim_blist_destroy() 103 void gaim_blist_destroy()
104 { 104 {
105 struct gaim_blist_ui_ops *ops = gaimbuddylist->ui_ops; 105 struct gaim_blist_ui_ops *ops = gaimbuddylist->ui_ops;
106 GaimBlistNode *node = gaimbuddylist->root;
107 if (ops) 106 if (ops)
108 ops->destroy(gaimbuddylist); 107 ops->destroy(gaimbuddylist);
109 } 108 }
110 109
111 void gaim_blist_set_visible (gboolean show) 110 void gaim_blist_set_visible (gboolean show)

mercurial