aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy-gtk/empathy-avatar-chooser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-avatar-chooser.c b/libempathy-gtk/empathy-avatar-chooser.c
index ae7792cb6..71981ce71 100644
--- a/libempathy-gtk/empathy-avatar-chooser.c
+++ b/libempathy-gtk/empathy-avatar-chooser.c
@@ -512,7 +512,7 @@ avatar_chooser_set_image (EmpathyAvatarChooser *chooser,
EmpathyAvatar *avatar = NULL;
gchar *mime_type = NULL;
- if (data == NULL || size == 0) {
+ if (data == NULL) {
avatar_chooser_clear_image (chooser);
g_free (data);
return;