Mercurial > pidgin
diff src/conversation.c @ 4360:c435a29370b8
[gaim-migrate @ 4626]
Cleaning up after myself, and fixing a small bug.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Mon, 20 Jan 2003 09:30:30 +0000 |
parents | 5fb47ec9bfe4 |
children | 65d98b565fbe |
line wrap: on
line diff
--- a/src/conversation.c Mon Jan 20 09:10:23 2003 +0000 +++ b/src/conversation.c Mon Jan 20 09:30:30 2003 +0000 @@ -631,15 +631,15 @@ node = g_list_nth(gaim_window_get_conversations(win), index); conv = (struct gaim_conversation *)node->data; + if (ops != NULL && ops->remove_conversation != NULL) + ops->remove_conversation(win, conv); + win->conversations = g_list_remove_link(win->conversations, node); g_list_free_1(node); win->conversation_count--; - if (ops != NULL && ops->remove_conversation != NULL) - ops->remove_conversation(win, conv); - conv->window = NULL; if (gaim_window_get_conversation_count(win) == 0)