applied changes from 0573c84391460ff90a7de830442aad5ffb6a0c5f release-2.2.2

Fri, 19 Oct 2007 17:26:23 +0000

author
Luke Schierer <lschiere@pidgin.im>
date
Fri, 19 Oct 2007 17:26:23 +0000
branch
release-2.2.2
changeset 20206
a121040d571b
parent 20204
b95c43d0fd64
child 20207
35dcb67c4c52

applied changes from 0573c84391460ff90a7de830442aad5ffb6a0c5f
through 6b5f1f48667171fe73de619dd8f80cacd231a2e2

pidgin/plugins/ticker/ticker.c file | annotate | diff | comparison | revisions
--- 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;
 }

mercurial