# HG changeset patch # User Richard Laager # Date 1181094046 0 # Node ID 25d808baa39505c64ce7f7c7df7d83b6bc2d32d2 # Parent 33063a3940a80e1aa047c22e8076530a2a833f04 In purple_conv_chat_clear_users(), use g_list_prepend() instead of g_list_append() as it's faster. The UI mustn't be expecting these in a given order anyway. diff -r 33063a3940a8 -r 25d808baa395 libpurple/conversation.c --- a/libpurple/conversation.c Wed Jun 06 00:58:02 2007 +0000 +++ b/libpurple/conversation.c Wed Jun 06 01:40:46 2007 +0000 @@ -1810,7 +1810,7 @@ if (ops != NULL && ops->chat_remove_users != NULL) { for (l = users; l; l = l->next) { PurpleConvChatBuddy *cb = l->data; - names = g_list_append(names, cb->name); + names = g_list_prepend(names, cb->name); } ops->chat_remove_users(conv, names); g_list_free(names);