GdkPixbuf* pidgin_create_icon_from_protocol ( PurpleProtocol* protocol, PidginProtocolIconSize size, PurpleAccount* account )
Returns the base image to represent
protocol based on the currently
selected theme. If
account is not
NULL then the returned icon will
represent the account.
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.|