[folks] e-d-s: When an avatar has been removed, set it to null



commit 8f747c7361bea1eefbae5358df44b161c2f432c4
Author: Raul Gutierrez Segales <rgs collabora co uk>
Date:   Thu Aug 4 16:08:06 2011 +0100

    e-d-s: When an avatar has been removed, set it to null
    
    Though new_avatar was null, I prefer to even more
    obvious about what is going on.
    
    Helps: https://bugzilla.gnome.org/show_bug.cgi?id=655374

 backends/eds/lib/edsf-persona.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/backends/eds/lib/edsf-persona.vala b/backends/eds/lib/edsf-persona.vala
index f013bd6..4a3baf5 100644
--- a/backends/eds/lib/edsf-persona.vala
+++ b/backends/eds/lib/edsf-persona.vala
@@ -766,7 +766,7 @@ public class Edsf.Persona : Folks.Persona,
                 }
               catch (GLib.Error e1) {}
 
-              this._avatar = new_avatar;
+              this._avatar = null;
               this.notify_property ("avatar");
             });
         }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]