Function

Pidginicon_name_from_status_primitive

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 PurpleStatusPrimitive
 

The PurpleStatusPrimitive.

fallback 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

Returns: 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.