Method

PurpleProtocolget_list_icon

Declaration [src]

const gchar*
purple_protocol_get_list_icon (
  PurpleProtocol* protocol,
  PurpleAccount* account,
  PurpleBuddy* buddy
)

Description [src]

Gets the icon to show in the contact list for buddy on account which uses protocol.

Both account and buddy may be NULL to get the default icon for protocol.

Available since:3.0.0

Parameters

account PurpleAccount
 

The PurpleAccount instance.

 The data is owned by the caller of the function.
buddy PurpleBuddy
 

The PurpleBuddy instance.

 The data is owned by the caller of the function.

Return value

Returns: const gchar*
 

The name of the icon file to use in the contact list for buddy.

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