changeset 20312:eda97aca0b24

applied changes from 0573c84391460ff90a7de830442aad5ffb6a0c5f through 6b5f1f48667171fe73de619dd8f80cacd231a2e2
author Luke Schierer <lschiere@pidgin.im>
date Fri, 19 Oct 2007 17:26:23 +0000
parents 66b73b0def79
children 2c9303933770
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	Fri Oct 19 17:18:40 2007 +0000
+++ b/pidgin/plugins/ticker/ticker.c	Fri Oct 19 17:26:23 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;
 }