Mercurial > pidgin
diff src/conversation.c @ 2109:3110ea142888
[gaim-migrate @ 2119]
fun stuff.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 02 Aug 2001 05:42:15 +0000 |
parents | 0b81421021fd |
children | 109669b3887e |
line wrap: on
line diff
--- a/src/conversation.c Thu Aug 02 03:04:23 2001 +0000 +++ b/src/conversation.c Thu Aug 02 05:42:15 2001 +0000 @@ -1855,7 +1855,7 @@ } } -void redo_convo_menus() +void redo_convo_menus(struct gaim_connection *gc) { GList *c = conversations; struct conversation *C; @@ -1866,9 +1866,15 @@ create_convo_menu(C); - if (g_slist_index(connections, C->gc) >= 0) + if (!gc) continue; + if (C->gc != gc) + continue; + + if (C->gc && C->gc->prpl && C->gc->prpl->remove_convo) + (*C->gc->prpl->remove_convo)(C->gc, C); + set_convo_gc(C, connections ? connections->data : NULL); } }