Method

PurplePersonget_color_for_display

unstable since: 3.0

Declaration [src]

const char*
purple_person_get_color_for_display (
  PurplePerson* person
)

Description [src]

Gets the color that should be used for person. If PurplePerson:color is set that will be returned, otherwise the result of purple_contact_info_get_color() on the priority contact will be returned.

Available since: 3.0

Return value

Type: const char*

The color to display for person.

The returned data is owned by the instance.
The value is a NUL terminated UTF-8 string.