Method

PurpleConversationMembershas_member

unstable since: 3.0

Declaration [src]

gboolean
purple_conversation_members_has_member (
  PurpleConversationMembers* members,
  PurpleContactInfo* info,
  guint* position
)

Description [src]

Checks if info is in members.

If info is found, and position is not NULL, it will be set to the position of info in members.

Available since: 3.0

Parameters

info

Type: PurpleContactInfo

The PurpleContactInfo to look for.

The data is owned by the caller of the method.
position

Type: guint*

A return address for the position of the member in the collection.

The argument will be set by the function.
The argument can be NULL.

Return value

Type: gboolean

TRUE if info is in members otherwise FALSE.