# HG changeset patch # User Stu Tomlinson # Date 1177038007 0 # Node ID 143b508024c00687d71a590e50aec6ce3d059403 # Parent 0cf176fc9438e23fc579d4d011b13977094d5000 Patch from khc to remove the typing notifcation callback when the window is destroyed. Closes #225 diff -r 0cf176fc9438 -r 143b508024c0 pidgin/gtkconv.c --- 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);