changeset 25812:2e179c60f8c9

Fix one struct hiding issue.
author Richard Laager <rlaager@wiktel.com>
date Sun, 02 Nov 2008 20:42:15 +0000
parents 88a66cb4a8d9
children cfcfb30b17e1
files pidgin/gtklog.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtklog.c	Sun Nov 02 19:14:51 2008 +0000
+++ b/pidgin/gtklog.c	Sun Nov 02 20:42:15 2008 +0000
@@ -760,7 +760,9 @@
 		return;
 	}
 
-	for (child = contact->node.child ; child ; child = child->next) {
+	for (child = purple_blist_node_get_first_child((PurpleBlistNode*)contact) ;
+	     child != NULL ;
+	     child = purple_blist_node_get_sibling_next(child)) {
 		if (!PURPLE_BLIST_NODE_IS_BUDDY(child))
 			continue;