changeset 20781:2216c520f4bd

I think this Fixes #3438.
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 04 Oct 2007 18:14:10 +0000
parents a068bcd78b61
children 848970b040a5 992d520224f7
files pidgin/plugins/ticker/ticker.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
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;
 }