diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2008-07-17 02:05:08 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2009-06-12 00:06:28 +0800 |
commit | c9b74c0e4891a12133aab46312b6038c3a2d0047 (patch) | |
tree | 8c258e236a86d34eff9746beec398f9ae29ce3b4 /libempathy-gtk/empathy-avatar-chooser.c | |
parent | 250c6aaadcfd00470f670bc6bf4b1098c1640179 (diff) | |
download | gsoc2013-empathy-c9b74c0e4891a12133aab46312b6038c3a2d0047.tar gsoc2013-empathy-c9b74c0e4891a12133aab46312b6038c3a2d0047.tar.gz gsoc2013-empathy-c9b74c0e4891a12133aab46312b6038c3a2d0047.tar.bz2 gsoc2013-empathy-c9b74c0e4891a12133aab46312b6038c3a2d0047.tar.lz gsoc2013-empathy-c9b74c0e4891a12133aab46312b6038c3a2d0047.tar.xz gsoc2013-empathy-c9b74c0e4891a12133aab46312b6038c3a2d0047.tar.zst gsoc2013-empathy-c9b74c0e4891a12133aab46312b6038c3a2d0047.zip |
Add the filename in EmpathyAvatar and fallback to stock_person
Diffstat (limited to 'libempathy-gtk/empathy-avatar-chooser.c')
-rw-r--r-- | libempathy-gtk/empathy-avatar-chooser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-avatar-chooser.c b/libempathy-gtk/empathy-avatar-chooser.c index 0f4311e07..8c005a029 100644 --- a/libempathy-gtk/empathy-avatar-chooser.c +++ b/libempathy-gtk/empathy-avatar-chooser.c @@ -555,7 +555,7 @@ avatar_chooser_maybe_convert_and_scale (EmpathyAvatarChooser *chooser, /* Takes ownership of new_mime_type and converted_image_data */ avatar = empathy_avatar_new (converted_image_data, - converted_image_size, new_mime_type, NULL); + converted_image_size, new_mime_type, NULL, NULL); return avatar; } @@ -598,7 +598,7 @@ avatar_chooser_set_image_from_data (EmpathyAvatarChooser *chooser, } /* avatar takes ownership of data and mime_type */ - avatar = empathy_avatar_new (data, size, mime_type, NULL); + avatar = empathy_avatar_new (data, size, mime_type, NULL, NULL); avatar_chooser_set_image (chooser, avatar, pixbuf, set_locally); } |