Function

Pidginicon_name_from_presence_primitive

unstable since: 3.0

Declaration [src]

const char*
pidgin_icon_name_from_presence_primitive (
  PurplePresencePrimitive primitive,
  const char* fallback
)

Description [src]

Gets the icon name that should be used to represent primitive. If the value is unknown fallback will be returned.

Available since: 3.0

Parameters

primitive

Type: PurplePresencePrimitive

The PurplePresencePrimitive.

fallback

Type: const char*

The icon name to fall back to.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: const char*

The icon name to use or fallback.

The data is owned by the called function.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.