Function
HandyAvatarImageLoadFunc
Description [src]
Callback for loading an HdyAvatar
‘s image.
The returned GdkPixbuf
is expected to be square with width and
height set to size
. The image is cropped to a circle without any scaling or transformation.
Available since: | 1.0 |
Deprecated since: | 1.2 |
Use |
Parameters
size |
gint |
The required size of the avatar. |
|
user_data |
gpointer |
User data. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. |
Return value
Returns: | GdkPixbuf |
The pixbuf to use as a custom avatar or
|
|
The caller of the function takes ownership of the data, and is responsible for freeing it. | |
The return value can be NULL . |