plugins/tcl/tcl_signals.c

changeset 6700
02bb89cd563e
parent 6694
2354eced08e8
child 6735
a8c70aeddbe7
equal deleted inserted replaced
6699:1af918908513 6700:02bb89cd563e
227 node = *va_arg(args, GaimBlistNode **); 227 node = *va_arg(args, GaimBlistNode **);
228 else 228 else
229 node = va_arg(args, GaimBlistNode *); 229 node = va_arg(args, GaimBlistNode *);
230 switch (node->type) { 230 switch (node->type) {
231 case GAIM_BLIST_GROUP_NODE: 231 case GAIM_BLIST_GROUP_NODE:
232 g_string_printf(val, "group {%s}", ((struct group *)node)->name); 232 g_string_printf(val, "group {%s}", ((GaimGroup *)node)->name);
233 break; 233 break;
234 case GAIM_BLIST_BUDDY_NODE: 234 case GAIM_BLIST_BUDDY_NODE:
235 g_string_printf(val, "buddy {%s} %lu", ((struct buddy *)node)->name, 235 g_string_printf(val, "buddy {%s} %lu", ((GaimBuddy *)node)->name,
236 (unsigned long)((struct buddy *)node)->account); 236 (unsigned long)((GaimBuddy *)node)->account);
237 break; 237 break;
238 case GAIM_BLIST_CHAT_NODE: 238 case GAIM_BLIST_CHAT_NODE:
239 g_string_printf(val, "chat {%s} %lu", ((struct chat *)node)->alias, 239 g_string_printf(val, "chat {%s} %lu", ((GaimBlistChat *)node)->alias,
240 (unsigned long)((struct chat *)node)->account); 240 (unsigned long)((GaimBlistChat *)node)->account);
241 break; 241 break;
242 case GAIM_BLIST_OTHER_NODE: 242 case GAIM_BLIST_OTHER_NODE:
243 g_string_printf(val, "other"); 243 g_string_printf(val, "other");
244 break; 244 break;
245 } 245 }

mercurial