diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2009-06-12 02:21:30 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2009-06-12 02:21:30 +0800 |
commit | 647ef034c03b4669e9eb4e489443295ea6d107e1 (patch) | |
tree | eb59a979ec999c8c113e84552960019f9441c665 /libempathy/empathy-contact.c | |
parent | e1997f45a15c8a42e7304120034e0fcf86560bf5 (diff) | |
download | gsoc2013-empathy-647ef034c03b4669e9eb4e489443295ea6d107e1.tar gsoc2013-empathy-647ef034c03b4669e9eb4e489443295ea6d107e1.tar.gz gsoc2013-empathy-647ef034c03b4669e9eb4e489443295ea6d107e1.tar.bz2 gsoc2013-empathy-647ef034c03b4669e9eb4e489443295ea6d107e1.tar.lz gsoc2013-empathy-647ef034c03b4669e9eb4e489443295ea6d107e1.tar.xz gsoc2013-empathy-647ef034c03b4669e9eb4e489443295ea6d107e1.tar.zst gsoc2013-empathy-647ef034c03b4669e9eb4e489443295ea6d107e1.zip |
Add doc for empathy_avatar_new()
Diffstat (limited to 'libempathy/empathy-contact.c')
-rw-r--r-- | libempathy/empathy-contact.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c index a99e66b13..8e07fb9f6 100644 --- a/libempathy/empathy-contact.c +++ b/libempathy/empathy-contact.c @@ -950,6 +950,19 @@ empathy_avatar_get_type (void) return type_id; } +/** + * empathy_avatar_new: + * @data: the avatar data + * @len: the size of avatar data + * @format: the mime type of the avatar image + * @token: the token of the avatar + * @filename: the filename where the avatar is stored in cache + * + * Create a #EmpathyAvatar from the provided data. This function takes the + * ownership of @data, @format, @token and @filename. + * + * Returns: a new #EmpathyAvatar + */ EmpathyAvatar * empathy_avatar_new (guchar *data, gsize len, |