Function

Pidginicon_name_from_status

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 PurpleStatus
 

The PurpleStatus instance.

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

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