Mercurial > pidgin
comparison src/conversation.c @ 8273:f24172f53650
[gaim-migrate @ 8997]
This is Scott Lamb's eventloop abstraction patch. If it breaks things,
Scott Lamb will be glad to take the punishment. If it doesn't, it should
make integration into other event loops easier. Well, no, not easier,
harder actually, but it'll be done more appropriately and less hackily..
er, hacky. Is hackily a word?
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Tue, 17 Feb 2004 02:17:48 +0000 |
parents | 5c9cd9c97727 |
children | ef881489396e |
comparison
equal
deleted
inserted
replaced
8272:9af78e73f0b2 | 8273:f24172f53650 |
---|---|
1579 gaim_conv_im_stop_typing_timeout(im); | 1579 gaim_conv_im_stop_typing_timeout(im); |
1580 | 1580 |
1581 conv = gaim_conv_im_get_conversation(im); | 1581 conv = gaim_conv_im_get_conversation(im); |
1582 name = gaim_conversation_get_name(conv); | 1582 name = gaim_conversation_get_name(conv); |
1583 | 1583 |
1584 im->typing_timeout = g_timeout_add_full(G_PRIORITY_DEFAULT_IDLE, | 1584 im->typing_timeout = gaim_timeout_add(timeout * 1000, reset_typing, conv); |
1585 timeout * 1000, reset_typing, conv, NULL); | |
1586 } | 1585 } |
1587 | 1586 |
1588 void | 1587 void |
1589 gaim_conv_im_stop_typing_timeout(GaimConvIm *im) | 1588 gaim_conv_im_stop_typing_timeout(GaimConvIm *im) |
1590 { | 1589 { |
1624 void | 1623 void |
1625 gaim_conv_im_start_type_again_timeout(GaimConvIm *im) | 1624 gaim_conv_im_start_type_again_timeout(GaimConvIm *im) |
1626 { | 1625 { |
1627 g_return_if_fail(im != NULL); | 1626 g_return_if_fail(im != NULL); |
1628 | 1627 |
1629 im->type_again_timeout = g_timeout_add(SEND_TYPED_TIMEOUT, send_typed, | 1628 im->type_again_timeout = gaim_timeout_add(SEND_TYPED_TIMEOUT, send_typed, |
1630 gaim_conv_im_get_conversation(im)); | 1629 gaim_conv_im_get_conversation(im)); |
1631 } | 1630 } |
1632 | 1631 |
1633 void | 1632 void |
1634 gaim_conv_im_stop_type_again_timeout(GaimConvIm *im) | 1633 gaim_conv_im_stop_type_again_timeout(GaimConvIm *im) |
1635 { | 1634 { |