| 605 * Re-Invite was selected from the buddy-list menu. |
605 * Re-Invite was selected from the buddy-list menu. |
| 606 * |
606 * |
| 607 * @param node The entry in the buddy list. |
607 * @param node The entry in the buddy list. |
| 608 * @param ignored (not used) |
608 * @param ignored (not used) |
| 609 */ |
609 */ |
| 610 static void mxit_reinvite( PurpleBlistNode *node, gpointer ignored ) |
610 static void mxit_reinvite( PurpleBListNode *node, gpointer ignored ) |
| 611 { |
611 { |
| 612 PurpleBuddy* buddy = (PurpleBuddy *) node; |
612 PurpleBuddy* buddy = (PurpleBuddy *) node; |
| 613 PurpleConnection* gc = purple_account_get_connection( purple_buddy_get_account( buddy ) ); |
613 PurpleConnection* gc = purple_account_get_connection( purple_buddy_get_account( buddy ) ); |
| 614 struct MXitSession* session = purple_connection_get_protocol_data( gc ); |
614 struct MXitSession* session = purple_connection_get_protocol_data( gc ); |
| 615 struct contact* contact; |
615 struct contact* contact; |
| 626 /*------------------------------------------------------------------------ |
626 /*------------------------------------------------------------------------ |
| 627 * Buddy-list menu. |
627 * Buddy-list menu. |
| 628 * |
628 * |
| 629 * @param node The entry in the buddy list. |
629 * @param node The entry in the buddy list. |
| 630 */ |
630 */ |
| 631 static GList* mxit_blist_menu( PurpleBlistNode *node ) |
631 static GList* mxit_blist_menu( PurpleBListNode *node ) |
| 632 { |
632 { |
| 633 PurpleBuddy* buddy; |
633 PurpleBuddy* buddy; |
| 634 struct contact* contact; |
634 struct contact* contact; |
| 635 GList* m = NULL; |
635 GList* m = NULL; |
| 636 PurpleMenuAction* act; |
636 PurpleMenuAction* act; |