Method

HandyAvatarset_loadable_icon

Declaration [src]

void
hdy_avatar_set_loadable_icon (
  HdyAvatar* self,
  GLoadableIcon* icon
)

Description [src]

Sets the GLoadableIcon to use as an avatar.

The previous avatar is displayed till the new avatar is loaded, to immediately remove the custom avatar set the loadable-icon to NULL.

The GLoadableIcon set via this function is preferred over a set HdyAvatarImageLoadFunc.

Available since:1.2

Parameters

icon

Type: GLoadableIcon

A GLoadableIcon

The argument can be NULL.
The data is owned by the caller of the function.