Mercurial > pidgin.yaz
changeset 16273:143b508024c0
Patch from khc to remove the typing notifcation callback when the window is
destroyed.
Closes #225
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Fri, 20 Apr 2007 03:00:07 +0000 |
parents | 0cf176fc9438 |
children | 3796304f343d |
files | pidgin/gtkconv.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkconv.c Fri Apr 20 01:15:29 2007 +0000 +++ b/pidgin/gtkconv.c Fri Apr 20 03:00:07 2007 +0000 @@ -4773,6 +4773,9 @@ if (gtkconv->u.im->anim != NULL) g_object_unref(G_OBJECT(gtkconv->u.im->anim)); + if (gtkconv->u.im->typing_timer != 0) + g_source_remove(gtkconv->u.im->typing_timer); + g_free(gtkconv->u.im); } else if (purple_conversation_get_type(conv) == PURPLE_CONV_TYPE_CHAT) { purple_signals_disconnect_by_handle(gtkconv->u.chat);