empathy r1684 - trunk/libempathy-gtk
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r1684 - trunk/libempathy-gtk
- Date: Tue, 11 Nov 2008 15:26:32 +0000 (UTC)
Author: xclaesse
Date: Tue Nov 11 15:26:32 2008
New Revision: 1684
URL: http://svn.gnome.org/viewvc/empathy?rev=1684&view=rev
Log:
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.
Modified:
trunk/libempathy-gtk/empathy-avatar-chooser.c
Modified: trunk/libempathy-gtk/empathy-avatar-chooser.c
==============================================================================
--- trunk/libempathy-gtk/empathy-avatar-chooser.c (original)
+++ trunk/libempathy-gtk/empathy-avatar-chooser.c Tue Nov 11 15:26:32 2008
@@ -512,7 +512,7 @@
EmpathyAvatar *avatar = NULL;
gchar *mime_type = NULL;
- if (data == NULL || size == 0) {
+ if (data == NULL) {
avatar_chooser_clear_image (chooser);
g_free (data);
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]