Mercurial > pidgin
comparison src/blist.c @ 6116:de49cfd8fd59
[gaim-migrate @ 6579]
This fixes "perl plugin handling event_buddy_signon called twice"
http://sourceforge.net/tracker/index.php?func=detail&aid=727796&group_id=235&atid=100235
Also cleaned up history.c a tad bit and removed a printf--thanks to SimGuy.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 13 Jul 2003 23:26:06 +0000 |
parents | d5f4ae4f9a02 |
children | 9083f92e0d58 |
comparison
equal
deleted
inserted
replaced
6115:11bedb793a44 | 6116:de49cfd8fd59 |
---|---|
168 static gboolean presence_update_timeout_cb(struct buddy *buddy) { | 168 static gboolean presence_update_timeout_cb(struct buddy *buddy) { |
169 struct gaim_blist_ui_ops *ops = gaimbuddylist->ui_ops; | 169 struct gaim_blist_ui_ops *ops = gaimbuddylist->ui_ops; |
170 | 170 |
171 if(buddy->present == GAIM_BUDDY_SIGNING_ON) { | 171 if(buddy->present == GAIM_BUDDY_SIGNING_ON) { |
172 buddy->present = GAIM_BUDDY_ONLINE; | 172 buddy->present = GAIM_BUDDY_ONLINE; |
173 gaim_event_broadcast(event_buddy_signon, buddy->account->gc, buddy->name); | |
174 } else if(buddy->present == GAIM_BUDDY_SIGNING_OFF) { | 173 } else if(buddy->present == GAIM_BUDDY_SIGNING_OFF) { |
175 buddy->present = GAIM_BUDDY_OFFLINE; | 174 buddy->present = GAIM_BUDDY_OFFLINE; |
176 } | 175 } |
177 | 176 |
178 buddy->timer = 0; | 177 buddy->timer = 0; |