Method
PurpleConversationMembercompare
unstable since: 3.0
[−]
Declaration [src]
int
purple_conversation_member_compare (
PurpleConversationMember* member1,
PurpleConversationMember* member2
)
[−]
Description [src]
Compares two members for sorting order.
This starts by calling purple_badges_compare()
on the
PurpleConversationMember:badges
property and then checks the
PurpleConversationMember:name-for-display
.
Available since: 3.0
[−]
Parameters
member2
-
Type:
PurpleConversationMember
The member to compare.
The argument can be NULL
.The data is owned by the caller of the method.
[−]
Return value
Type: int
Less than zero if the first member should be sorted first, 0 if the two are equal or greater than zero if the second member should be sorted first.