diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-11-11 23:26:32 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-11-11 23:26:32 +0800 |
commit | 3ab214c29c9a50e99eb3f775ad5f09b3a49e9b31 (patch) | |
tree | dcb5480746e31f34a17825e0b77905e90088b8a9 | |
parent | 61e87254ad01b6f4744e6cc79613a133079eb706 (diff) | |
download | gsoc2013-empathy-3ab214c29c9a50e99eb3f775ad5f09b3a49e9b31.tar gsoc2013-empathy-3ab214c29c9a50e99eb3f775ad5f09b3a49e9b31.tar.gz gsoc2013-empathy-3ab214c29c9a50e99eb3f775ad5f09b3a49e9b31.tar.bz2 gsoc2013-empathy-3ab214c29c9a50e99eb3f775ad5f09b3a49e9b31.tar.lz gsoc2013-empathy-3ab214c29c9a50e99eb3f775ad5f09b3a49e9b31.tar.xz gsoc2013-empathy-3ab214c29c9a50e99eb3f775ad5f09b3a49e9b31.tar.zst gsoc2013-empathy-3ab214c29c9a50e99eb3f775ad5f09b3a49e9b31.zip |
Don't explicitly check for the new avatar being zero bytes
empathy_pixbuf_from_data will whine if it can't parse the image, which
it won't be able to.
svn path=/trunk/; revision=1684
-rw-r--r-- | libempathy-gtk/empathy-avatar-chooser.c | 2 |
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; |