comparison src/blist.c @ 10567:54f7939df8e3

[gaim-migrate @ 11951] 1) fix the Logged in: thing in tooltips because it disappeared in the status re-write 2) fix the logged in 49 thousand odd days here too committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Thu, 03 Feb 2005 15:37:13 +0000
parents a511fb614157
children 54ac161a876e
comparison
equal deleted inserted replaced
10566:62fc579810f4 10567:54f7939df8e3
799 gaim_contact_invalidate_priority_buddy(gaim_buddy_get_contact(buddy)); 799 gaim_contact_invalidate_priority_buddy(gaim_buddy_get_contact(buddy));
800 if (ops && ops->update) 800 if (ops && ops->update)
801 ops->update(gaimbuddylist, (GaimBlistNode *)buddy); 801 ops->update(gaimbuddylist, (GaimBlistNode *)buddy);
802 } 802 }
803 803
804 void gaim_blist_update_buddy_signon(GaimBuddy *buddy, time_t signon)
805 {
806 GaimBlistUiOps *ops = gaimbuddylist->ui_ops;
807
808 g_return_if_fail(buddy != NULL);
809
810 if (buddy->signon == signon)
811 return;
812
813 buddy->signon = signon;
814
815 if (ops && ops->update)
816 ops->update(gaimbuddylist, (GaimBlistNode *)buddy);
817 }
818
819 void gaim_blist_update_buddy_icon(GaimBuddy *buddy) 804 void gaim_blist_update_buddy_icon(GaimBuddy *buddy)
820 { 805 {
821 GaimBlistUiOps *ops = gaimbuddylist->ui_ops; 806 GaimBlistUiOps *ops = gaimbuddylist->ui_ops;
822 807
823 g_return_if_fail(buddy != NULL); 808 g_return_if_fail(buddy != NULL);