finch/plugins/gnthistory.c

branch
soc.2013.gobjectification
changeset 34699
09b2c9219b57
parent 34657
b10d6297ffd5
child 34728
8efd73063ecf
equal deleted inserted replaced
34698:e0bd77bd4508 34699:09b2c9219b57
68 /* If we found at least one buddy, save the first buddy's alias. */ 68 /* If we found at least one buddy, save the first buddy's alias. */
69 if (buddies != NULL) 69 if (buddies != NULL)
70 alias = purple_buddy_get_contact_alias((PurpleBuddy *)buddies->data); 70 alias = purple_buddy_get_contact_alias((PurpleBuddy *)buddies->data);
71 71
72 for (cur = buddies; cur != NULL; cur = cur->next) { 72 for (cur = buddies; cur != NULL; cur = cur->next) {
73 PurpleBlistNode *node = cur->data; 73 PurpleBListNode *node = cur->data;
74 if ((node != NULL) && 74 if ((node != NULL) &&
75 ((purple_blist_node_get_sibling_prev(node) != NULL) || 75 ((purple_blist_node_get_sibling_prev(node) != NULL) ||
76 (purple_blist_node_get_sibling_next(node) != NULL))) { 76 (purple_blist_node_get_sibling_next(node) != NULL))) {
77 PurpleBlistNode *node2; 77 PurpleBListNode *node2;
78 78
79 alias = purple_buddy_get_contact_alias((PurpleBuddy *)node); 79 alias = purple_buddy_get_contact_alias((PurpleBuddy *)node);
80 80
81 /* We've found a buddy that matches this conversation. It's part of a 81 /* We've found a buddy that matches this conversation. It's part of a
82 * PurpleContact with more than one PurpleBuddy. Loop through the PurpleBuddies 82 * PurpleContact with more than one PurpleBuddy. Loop through the PurpleBuddies

mercurial