Mercurial > pidgin
diff src/pounce.c @ 11706:bcc49c25ef90
[gaim-migrate @ 13997]
Generalize the buddy-typing and buddy-typing-stopped signals.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Fri, 21 Oct 2005 19:03:51 +0000 |
parents | bb0d7b719af2 |
children | 69602de55fe9 |
line wrap: on
line diff
--- a/src/pounce.c Fri Oct 21 19:03:34 2005 +0000 +++ b/src/pounce.c Fri Oct 21 19:03:51 2005 +0000 @@ -949,12 +949,12 @@ } static void -buddy_typing_cb(GaimConversation *conv, void *data) +buddy_typing_cb(GaimAccount *account, const char *name, void *data) { - GaimAccount *account = gaim_conversation_get_account(conv); - const char *name = gaim_conversation_get_name(conv); + GaimConversation *conv; - if (gaim_find_buddy(account, name) != NULL) + conv == gaim_find_conversation_with_account(GAIM_CONV_TYPE_IM, name, account); + if (conv != NULL) { GaimPounceEvent event;