diff pidgin/gtkpounce.c @ 18137:323272a9bb65

Fix #1574. (Pidgin and Finch show each other's pounces, interact in strange ways)
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 17 Jun 2007 01:07:25 +0000
parents 9b9e202eb449
children b256b4808a6b d5e2a4897bbc
line wrap: on
line diff
--- a/pidgin/gtkpounce.c	Sun Jun 17 00:19:12 2007 +0000
+++ b/pidgin/gtkpounce.c	Sun Jun 17 01:07:25 2007 +0000
@@ -215,8 +215,8 @@
 
 	gtk_list_store_clear(dialog->model);
 
-	for (pounces = purple_pounces_get_all(); pounces != NULL;
-			pounces = g_list_next(pounces))
+	for (pounces = purple_pounces_get_all_for_ui(PIDGIN_UI); pounces != NULL;
+			pounces = g_list_delete_link(pounces, pounces))
 	{
 		add_pounce_to_treeview(dialog->model, pounces->data);
 	}