Function

Pidginicon_name_from_status_primitive

since: 3.0.0

Declaration [src]

const gchar*
pidgin_icon_name_from_status_primitive (
  PurpleStatusPrimitive primitive,
  const gchar* fallback
)

Description [src]

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

Available since: 3.0.0

Parameters

primitive

Type: PurpleStatusPrimitive

The PurpleStatusPrimitive.

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 primitive.

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