diff pidgin/gtkdialogs.c @ 32810:d288f5215a9a

Add purple_contact_get_contact_size().
author andrew.victor@mxit.com
date Mon, 31 Oct 2011 20:35:39 +0000
parents 76096c42f558
children
line wrap: on
line diff
--- a/pidgin/gtkdialogs.c	Mon Oct 31 19:21:14 2011 +0000
+++ b/pidgin/gtkdialogs.c	Mon Oct 31 20:35:39 2011 +0000
@@ -1195,8 +1195,8 @@
 						"want to continue?",
 						"You are about to remove the contact containing %s "
 						"and %d other buddies from your buddy list.  Do you "
-						"want to continue?", contact->totalsize - 1),
-					purple_buddy_get_name(buddy), contact->totalsize - 1);
+						"want to continue?", purple_contact_get_contact_size(contact, TRUE) - 1),
+					purple_buddy_get_name(buddy), purple_contact_get_contact_size(contact, TRUE) - 1);
 
 		purple_request_action(contact, NULL, _("Remove Contact"), text, 0,
 				NULL, purple_contact_get_alias(contact), NULL,