pidgin.next.minor: 293e818d: Remove an else block which just calls pi...

deryni at pidgin.im deryni at pidgin.im
Sat May 17 16:16:13 EDT 2008


-----------------------------------------------------------------
Revision: 293e818dded9f96ea7d7d8dbf1d5e68e9fc1cec7
Ancestor: 41bf77ad2b3c42618362f5e2daace6c5a25a9907
Author: deryni at pidgin.im
Date: 2008-05-17T19:54:58
Branch: im.pidgin.pidgin.next.minor
URL: http://d.pidgin.im/viewmtn/revision/info/293e818dded9f96ea7d7d8dbf1d5e68e9fc1cec7

Modified files:
        pidgin/gtkconv.c

ChangeLog: 

Remove an else block which just calls pidgin_blist_get_emblem on a PurpleChat,
but pidgin_blist_get_emblem will always return NULL for a chat at the moment
so this is useless.

-------------- next part --------------
============================================================
--- pidgin/gtkconv.c	70199e691a05124f87b915636835ead0ec2c0b78
+++ pidgin/gtkconv.c	6fa9f51ad279502cacee63f1479f84780b22e6a0
@@ -2511,10 +2511,6 @@ update_tab_icon(PurpleConversation *conv
 		PurpleBuddy *b = purple_find_buddy(conv->account, conv->name);
 		if (b)
 			emblem = pidgin_blist_get_emblem((PurpleBlistNode*)b);
-	} else {
-		PurpleChat *c = purple_blist_find_chat(conv->account, conv->name);
-		if (c)
-			emblem = pidgin_blist_get_emblem((PurpleBlistNode*)c);
 	}
 
 	g_return_if_fail(status != NULL);


More information about the Commits mailing list