Function

Pidginicon_name_from_presence

since: 3.0

Declaration [src]

const char*
pidgin_icon_name_from_presence (
  PurplePresence* presence,
  const char* fallback
)

Description [src]

Gets the icon name that should be used to represent presence falling back to fallback if presence is invalid.

Available since: 3.0

Parameters

presence

Type: PurplePresence

The PurplePresence instance.

The data is owned by the caller of the function.
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 represent presence.

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