comparison src/blist.c @ 10037:e6e68b9db19b

[gaim-migrate @ 10996] " Adds gaim_buddy_get_account and gaim_buddy_get_name to blist.c and blist.h" --Dave West committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sat, 18 Sep 2004 22:14:47 +0000
parents 4d2269c6c673
children eaec201b2688
comparison
equal deleted inserted replaced
10036:0ddc38f8db4a 10037:e6e68b9db19b
637 schedule_blist_save(); 637 schedule_blist_save();
638 638
639 gaim_blist_update_buddy_icon(buddy); 639 gaim_blist_update_buddy_icon(buddy);
640 } 640 }
641 641
642 GaimAccount *
643 gaim_buddy_get_account(const GaimBuddy *buddy)
644 {
645 g_return_val_if_fail(buddy != NULL, NULL);
646
647 return buddy->account;
648 }
649
650 const char *
651 gaim_buddy_get_name(const GaimBuddy *buddy)
652 {
653 g_return_val_if_fail(buddy != NULL, NULL);
654
655 return buddy->name;
656 }
657
642 GaimBuddyIcon * 658 GaimBuddyIcon *
643 gaim_buddy_get_icon(const GaimBuddy *buddy) 659 gaim_buddy_get_icon(const GaimBuddy *buddy)
644 { 660 {
645 g_return_val_if_fail(buddy != NULL, NULL); 661 g_return_val_if_fail(buddy != NULL, NULL);
646 662