diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2009-04-23 07:52:08 +0800 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2009-04-23 07:52:08 +0800 |
commit | 0913854d6a7d78e60a0d08897d6ba45140fd5237 (patch) | |
tree | 6e1e60fc6cd661f9392fe8d63e941b6579886b9e /libempathy-gtk/empathy-avatar-image.c | |
parent | 3b01b7ca985d788eca42749fd7a63c970b7ecde2 (diff) | |
download | gsoc2013-empathy-0913854d6a7d78e60a0d08897d6ba45140fd5237.tar gsoc2013-empathy-0913854d6a7d78e60a0d08897d6ba45140fd5237.tar.gz gsoc2013-empathy-0913854d6a7d78e60a0d08897d6ba45140fd5237.tar.bz2 gsoc2013-empathy-0913854d6a7d78e60a0d08897d6ba45140fd5237.tar.lz gsoc2013-empathy-0913854d6a7d78e60a0d08897d6ba45140fd5237.tar.xz gsoc2013-empathy-0913854d6a7d78e60a0d08897d6ba45140fd5237.tar.zst gsoc2013-empathy-0913854d6a7d78e60a0d08897d6ba45140fd5237.zip |
Add documentation for EmpathyAvatarImage.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'libempathy-gtk/empathy-avatar-image.c')
-rw-r--r-- | libempathy-gtk/empathy-avatar-image.c | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-avatar-image.c b/libempathy-gtk/empathy-avatar-image.c index 51f30bdd5..e5513231b 100644 --- a/libempathy-gtk/empathy-avatar-image.c +++ b/libempathy-gtk/empathy-avatar-image.c @@ -33,6 +33,22 @@ #include "empathy-avatar-image.h" #include "empathy-ui-utils.h" +/** + * SECTION:empathy-avatar-image + * @title: EmpathyAvatarImage + * @short_description: A widget to display an avatar + * @include: libempathy-gtk/empathy-avatar-image.h + * + * #EmpathyAvatarImage is a widget which displays an avatar. + */ + +/** + * EmpathyAvatarImage: + * @parent: parent object + * + * Widget which displays an avatar. + */ + #define MAX_SMALL 64 #define MAX_LARGE 400 @@ -251,6 +267,13 @@ avatar_image_button_release_event (GtkWidget *widget, GdkEventButton *event) return TRUE; } +/** + * empathy_avatar_image_new: + * + * Creates a new #EmpathyAvatarImage. + * + * Return value: a new #EmpathyAvatarImage + */ GtkWidget * empathy_avatar_image_new (void) { @@ -261,6 +284,13 @@ empathy_avatar_image_new (void) return GTK_WIDGET (avatar_image); } +/** + * empathy_avatar_image_set: + * @avatar_image: an #EmpathyAvatarImage + * @avatar: the #EmpathyAvatar to set @avatar_image to + * + * Sets @avatar_image to display the avatar indicated by @avatar. + */ void empathy_avatar_image_set (EmpathyAvatarImage *avatar_image, EmpathyAvatar *avatar) |