Changeset a91550c for protocols/purple
- Timestamp:
- 2010-07-17T12:29:51Z (14 years ago)
- Branches:
- master
- Children:
- 6ef19f7
- Parents:
- a08e875
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/purple/purple.c
ra08e875 ra91550c 371 371 if( pb != NULL ) 372 372 { 373 purple_account_remove_buddy( (PurpleAccount*) ic->proto_data, pb, NULL ); 373 PurpleGroup *group; 374 375 group = purple_buddy_get_group( pb ); 376 purple_account_remove_buddy( (PurpleAccount*) ic->proto_data, pb, group ); 377 374 378 purple_blist_remove_buddy( pb ); 375 379 } … … 695 699 static void prplcb_blist_remove( PurpleBuddyList *list, PurpleBlistNode *node ) 696 700 { 697 701 /* 698 702 PurpleBuddy *bud = (PurpleBuddy*) node; 699 703 … … 707 711 imcb_remove_buddy( ic, bud->name, NULL ); 708 712 } 709 713 */ 710 714 } 711 715 … … 828 832 struct prplcb_request_action_data *pqad = data; 829 833 830 pqad->yes( pqad->user_data, pqad->yes_i ); 834 if( pqad->yes ) 835 pqad->yes( pqad->user_data, pqad->yes_i ); 831 836 g_free( pqad ); 832 837 } … … 836 841 struct prplcb_request_action_data *pqad = data; 837 842 838 pqad->no( pqad->user_data, pqad->no_i ); 843 if( pqad->no ) 844 pqad->no( pqad->user_data, pqad->no_i ); 839 845 g_free( pqad ); 840 846 } … … 859 865 fn = va_arg( actions, void* ); 860 866 861 if( strstr( caption, "Accept" ) )867 if( strstr( caption, "Accept" ) || strstr( caption, "OK" ) ) 862 868 { 863 869 pqad->yes = fn;
Note: See TracChangeset
for help on using the changeset viewer.