]> git.0d.be Git - empathy.git/commitdiff
Add doc for empathy_avatar_new()
authorXavier Claessens <xclaesse@gmail.com>
Thu, 11 Jun 2009 18:21:30 +0000 (20:21 +0200)
committerXavier Claessens <xclaesse@gmail.com>
Thu, 11 Jun 2009 18:21:30 +0000 (20:21 +0200)
libempathy/empathy-contact.c

index a99e66b135f5a1df6c9b980e959922e527bc011f..8e07fb9f6f313d44ea895e376ce378905c9a186a 100644 (file)
@@ -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,