Function

Pidginicon_name_from_status_type

Declaration [src]

const gchar*
pidgin_icon_name_from_status_type (
  PurpleStatusType* type,
  const gchar* fallback
)

Description [src]

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

Available since:3.0.0

Parameters

type PurpleStatusType
 

The PurpleStatusType.

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

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