Method

PurpleThreadsfind

unstable since: 3.0

Declaration [src]

PurpleConversation*
purple_threads_find (
  PurpleThreads* threads,
  const char* id
)

Description [src]

Looks up a thread in the collection.

Available since: 3.0

Parameters

id

Type: const char*

The id of the thread.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: PurpleConversation

The thread if found.

The returned data is owned by the instance.
The return value can be NULL.