Function
Pidgincreate_protocol_icon
Declaration [src]
GdkPixbuf*
pidgin_create_protocol_icon (
PurpleAccount* account,
PidginProtocolIconSize size
)
Description [src]
Returns the base image to represent the account, based on the currently selected theme.
Parameters
account |
PurpleAccount |
The account. |
|
The data is owned by the caller of the function. | |
size |
PidginProtocolIconSize |
The size of the icon to return. |
Return value
Returns: | GdkPixbuf |
A newly-created pixbuf with a reference count of 1, or NULL if any of several error conditions occurred: the file could not be opened, there was no loader for the file’s format, there was not enough memory to allocate the image buffer, or the image file contained invalid data. |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |