]> git.0d.be Git - empathy.git/commitdiff
Document empathy_avatar_save_to_file (Guillaume Desmottes)
authorXavier Claessens <xclaesse@src.gnome.org>
Tue, 8 Jul 2008 17:32:46 +0000 (17:32 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Tue, 8 Jul 2008 17:32:46 +0000 (17:32 +0000)
svn path=/trunk/; revision=1210

libempathy/empathy-contact.c
libempathy/empathy-contact.h

index 489e02c2e0bc2a99d9a817dd4a140893d558ce6e..e0335028cd7976d7eebf4d961ab624f58365eb18 100644 (file)
@@ -931,6 +931,16 @@ empathy_avatar_ref (EmpathyAvatar *avatar)
        return avatar;
 }
 
+/**
+ * empathy_avatar_save_to_file:
+ * @avatar: the avatar
+ * @filename: name of a file to write avatar to
+ * @error: return location for a GError, or NULL
+ *
+ * Save the avatar to a file named filename
+ *
+ * Returns: %TRUE on success, %FALSE if an error occurred 
+ */
 gboolean
 empathy_avatar_save_to_file (EmpathyAvatar *self,
                              const gchar *filename,
index d556fd24e0981bd39585776ba5697a7cbc6bd918..98774481179d82625070b68c3a36d4ae4aa0147d 100644 (file)
@@ -134,7 +134,7 @@ EmpathyAvatar *     empathy_avatar_new                 (guchar              *dat
 EmpathyAvatar *     empathy_avatar_ref                 (EmpathyAvatar       *avatar);
 void                empathy_avatar_unref               (EmpathyAvatar       *avatar);
 
-gboolean empathy_avatar_save_to_file (EmpathyAvatar *self,
+gboolean empathy_avatar_save_to_file (EmpathyAvatar *avatar,
     const gchar *filename, GError **error);
 
 G_END_DECLS