| 583 */ |
583 */ |
| 584 |
584 |
| 585 static void _qq_menu_unsubscribe_group(PurpleBlistNode * node) |
585 static void _qq_menu_unsubscribe_group(PurpleBlistNode * node) |
| 586 { |
586 { |
| 587 PurpleChat *chat = (PurpleChat *)node; |
587 PurpleChat *chat = (PurpleChat *)node; |
| 588 PurpleConnection *gc = purple_account_get_connection(chat->account); |
588 PurpleConnection *gc; |
| 589 GHashTable *components = chat -> components; |
589 GHashTable *components; |
| 590 |
590 |
| 591 g_return_if_fail(PURPLE_BLIST_NODE_IS_CHAT(node)); |
591 g_return_if_fail(PURPLE_BLIST_NODE_IS_CHAT(node)); |
| |
592 |
| |
593 gc = purple_account_get_connection(purple_chat_get_account(chat)); |
| |
594 components = purple_chat_get_components(chat); |
| 592 |
595 |
| 593 g_return_if_fail(components != NULL); |
596 g_return_if_fail(components != NULL); |
| 594 qq_group_exit(gc, components); |
597 qq_group_exit(gc, components); |
| 595 } |
598 } |
| 596 |
599 |