cpw.nader.asynclogging-3: 478cf141: Fixed up more issues in gntblist.c

morshed.nader at gmail.com morshed.nader at gmail.com
Fri Jan 14 00:32:00 EST 2011


----------------------------------------------------------------------
Revision: 478cf141ace4757db199885aaafd56ec123ea19b
Parent:   08f0ec49f9569717f0850a7d3c7f82b4c5e71084
Author:   morshed.nader at gmail.com
Date:     01/13/11 23:54:22
Branch:   im.pidgin.cpw.nader.asynclogging-3
URL: http://d.pidgin.im/viewmtn/revision/info/478cf141ace4757db199885aaafd56ec123ea19b

Changelog: 

Fixed up more issues in gntblist.c

Changes against parent 08f0ec49f9569717f0850a7d3c7f82b4c5e71084

  patched  finch/gntblist.c

-------------- next part --------------
============================================================
--- finch/gntblist.c	133535b5f28db02517258390616c80dea9bcf48b
+++ finch/gntblist.c	da5988e38ac4ac6048e34e29ccc03f75105e486e
@@ -2467,7 +2467,7 @@ get_contact_log_size(PurpleBlistNode *c)
 	for (node = purple_blist_node_get_first_child(c); node; node = purple_blist_node_get_sibling_next(node)) {
 		PurpleBuddy *b = (PurpleBuddy*)node;
 		log += purple_logs_get_total_size(PURPLE_LOG_IM, purple_buddy_get_name(b),
-				purple_buddy_get_account(b));
+				purple_buddy_get_account(b), NULL, NULL);
 	}
 
 	return log;
@@ -2486,8 +2486,10 @@ blist_node_compare_log(PurpleBlistNode *
 		case PURPLE_BLIST_BUDDY_NODE:
 			b1 = (PurpleBuddy*)n1;
 			b2 = (PurpleBuddy*)n2;
-			ret = purple_logs_get_total_size(PURPLE_LOG_IM, purple_buddy_get_name(b2), purple_buddy_get_account(b2)) -
-					purple_logs_get_total_size(PURPLE_LOG_IM, purple_buddy_get_name(b1), purple_buddy_get_account(b1));
+			ret = purple_logs_get_total_size(PURPLE_LOG_IM, purple_buddy_get_name(b2),
+					purple_buddy_get_account(b2), NULL, NULL) -
+				purple_logs_get_total_size(PURPLE_LOG_IM, purple_buddy_get_name(b1),
+					purple_buddy_get_account(b1), NULL, NULL);
 			if (ret != 0)
 				return ret;
 			break;


More information about the Commits mailing list