Function

Pidginicon_name_from_status

since: 3.0.0

Declaration [src]

const gchar*
pidgin_icon_name_from_status (
  PurpleStatus* status,
  const gchar* fallback
)

Description [src]

Gets the icon name to use for status if found, otherwise returns fallback.

Available since: 3.0.0

Parameters

status

Type: PurpleStatus

The PurpleStatus instance.

The data is owned by the caller of the function.
fallback

Type: const gchar*

The icon name to return if an icon name can not be found.

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

Return value

Type: const gchar*

The icon name to use for status.

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