Mercurial > pidgin
diff src/conversation.c @ 6640:314111e7b601
[gaim-migrate @ 7165]
Changed several calls from gaim_find_conversation() to
gaim_find_conversation_with_account().
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Thu, 28 Aug 2003 01:18:50 +0000 |
parents | fe9c3b58afaf |
children | 0c5637b5462e |
line wrap: on
line diff
--- a/src/conversation.c Wed Aug 27 23:03:03 2003 +0000 +++ b/src/conversation.c Thu Aug 28 01:18:50 2003 +0000 @@ -137,11 +137,10 @@ static gboolean reset_typing(gpointer data) { - char *name = (char *)data; - GaimConversation *c = gaim_find_conversation(name); + GaimConversation *c = (GaimConversation *)data; GaimIm *im; - if (!c) + if (!g_list_find(conversations, c)) return FALSE; im = GAIM_IM(c); @@ -1604,7 +1603,7 @@ name = gaim_conversation_get_name(conv); im->typing_timeout = g_timeout_add_full(G_PRIORITY_DEFAULT_IDLE, - timeout * 1000, reset_typing, g_strdup(name), g_free); + timeout * 1000, reset_typing, conv, NULL); } void