aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-avatar-chooser.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-avatar-chooser.c')
-rw-r--r--libempathy-gtk/empathy-avatar-chooser.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-avatar-chooser.c b/libempathy-gtk/empathy-avatar-chooser.c
index bc5f07e9b..0b3487af7 100644
--- a/libempathy-gtk/empathy-avatar-chooser.c
+++ b/libempathy-gtk/empathy-avatar-chooser.c
@@ -545,8 +545,9 @@ empathy_avatar_chooser_set (EmpathyAvatarChooser *chooser,
void
empathy_avatar_chooser_get_image_data (EmpathyAvatarChooser *chooser,
- gchar **data,
- gsize *data_size)
+ const gchar **data,
+ gsize *data_size,
+ const gchar **mime_type)
{
EmpathyAvatarChooserPriv *priv;
@@ -560,5 +561,8 @@ empathy_avatar_chooser_get_image_data (EmpathyAvatarChooser *chooser,
if (*data_size) {
*data_size = priv->image_data_size;
}
+ if (mime_type) {
+ *mime_type = "png";
+ }
}