aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-07-09 01:32:46 +0800
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-07-09 01:32:46 +0800
commitb25b4632310c7fcd0c581383f77e2ce4664d79a7 (patch)
tree131a4a348d19b8a54c1497974343c13c475b9751 /libempathy
parent7088b612fd49c15999f76340556d06faf24cf0a5 (diff)
downloadgsoc2013-empathy-b25b4632310c7fcd0c581383f77e2ce4664d79a7.tar
gsoc2013-empathy-b25b4632310c7fcd0c581383f77e2ce4664d79a7.tar.gz
gsoc2013-empathy-b25b4632310c7fcd0c581383f77e2ce4664d79a7.tar.bz2
gsoc2013-empathy-b25b4632310c7fcd0c581383f77e2ce4664d79a7.tar.lz
gsoc2013-empathy-b25b4632310c7fcd0c581383f77e2ce4664d79a7.tar.xz
gsoc2013-empathy-b25b4632310c7fcd0c581383f77e2ce4664d79a7.tar.zst
gsoc2013-empathy-b25b4632310c7fcd0c581383f77e2ce4664d79a7.zip
Document empathy_avatar_save_to_file (Guillaume Desmottes)
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@1210 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-contact.c10
-rw-r--r--libempathy/empathy-contact.h2
2 files changed, 11 insertions, 1 deletions
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c
index 489e02c2e..e0335028c 100644
--- a/libempathy/empathy-contact.c
+++ b/libempathy/empathy-contact.c
@@ -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,
diff --git a/libempathy/empathy-contact.h b/libempathy/empathy-contact.h
index d556fd24e..987744811 100644
--- a/libempathy/empathy-contact.h
+++ b/libempathy/empathy-contact.h
@@ -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