diff pidgin/plugins/ticker/ticker.c @ 20781:2216c520f4bd

I think this Fixes #3438.
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 04 Oct 2007 18:14:10 +0000
parents 44b4e8bd759b
children 3cc856ca2338
line wrap: on
line diff
--- a/pidgin/plugins/ticker/ticker.c	Thu Oct 04 14:36:45 2007 +0000
+++ b/pidgin/plugins/ticker/ticker.c	Thu Oct 04 18:14:10 2007 +0000
@@ -124,8 +124,10 @@
 static gboolean buddy_ticker_set_pixmap_cb(gpointer data) {
 	TickerData *td = data;
 
-	buddy_ticker_update_contact(td->contact);
-	td->timeout = 0;
+	if (g_list_find(tickerbuds, td) != NULL) {
+		buddy_ticker_update_contact(td->contact);
+		td->timeout = 0;
+	}
 
 	return FALSE;
 }