aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-avatar-chooser.c
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-23 20:12:49 +0800
committerPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-24 17:45:29 +0800
commit180d83485a0d10d8c45760852d8d588e20a7d3e2 (patch)
tree266acfb966092345122f44d3c0ad624ff2fa1bb7 /libempathy-gtk/empathy-avatar-chooser.c
parent77646a2826689c6f171e5a80eb1cf4702b458494 (diff)
downloadgsoc2013-empathy-180d83485a0d10d8c45760852d8d588e20a7d3e2.tar
gsoc2013-empathy-180d83485a0d10d8c45760852d8d588e20a7d3e2.tar.gz
gsoc2013-empathy-180d83485a0d10d8c45760852d8d588e20a7d3e2.tar.bz2
gsoc2013-empathy-180d83485a0d10d8c45760852d8d588e20a7d3e2.tar.lz
gsoc2013-empathy-180d83485a0d10d8c45760852d8d588e20a7d3e2.tar.xz
gsoc2013-empathy-180d83485a0d10d8c45760852d8d588e20a7d3e2.tar.zst
gsoc2013-empathy-180d83485a0d10d8c45760852d8d588e20a7d3e2.zip
Remove EmpathyAvatar->token
Diffstat (limited to 'libempathy-gtk/empathy-avatar-chooser.c')
-rw-r--r--libempathy-gtk/empathy-avatar-chooser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-avatar-chooser.c b/libempathy-gtk/empathy-avatar-chooser.c
index 08dbf0337..678e7b9ea 100644
--- a/libempathy-gtk/empathy-avatar-chooser.c
+++ b/libempathy-gtk/empathy-avatar-chooser.c
@@ -567,7 +567,7 @@ avatar_chooser_maybe_convert_and_scale (EmpathyAvatarChooser *chooser,
/* Takes ownership of new_mime_type and best_image_data */
avatar = empathy_avatar_new ((guchar *) best_image_data,
- best_image_size, new_mime_type, NULL, NULL);
+ best_image_size, new_mime_type, NULL);
return avatar;
}
@@ -612,7 +612,7 @@ avatar_chooser_set_image_from_data (EmpathyAvatarChooser *chooser,
}
/* avatar takes ownership of data and mime_type */
- avatar = empathy_avatar_new ((guchar *) data, size, mime_type, NULL, NULL);
+ avatar = empathy_avatar_new ((guchar *) data, size, mime_type, NULL);
avatar_chooser_set_image (chooser, avatar, pixbuf, set_locally);
}