Function

Pidginicon_name_from_presence

Declaration [src]

const gchar*
pidgin_icon_name_from_presence (
  PurplePresence* presence,
  const gchar* fallback
)

Description [src]

Gets the icon name that should be used to represent presence falling back to fallback if presence is invalid.

Available since:3.0.0

Parameters

presence PurplePresence
 

The PurplePresence instance.

 The data is owned by the caller of the function.
fallback const gchar*
 

The icon name to fall back to.

 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 represent presence.

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