[gnome-contacts] Remove Contact.serializable_avatar_icon



commit 092bb89b789f113a3aeee03c268da08fbec3ede0
Author: David King <dking redhat com>
Date:   Mon Oct 5 16:14:38 2015 -0400

    Remove Contact.serializable_avatar_icon
    
    There is no need to provide two ways to serialize the icon, when
    avatar_icon_data (which uses g_icon_serialize) is sufficient.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=756098

 src/contacts-contact.vala |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/src/contacts-contact.vala b/src/contacts-contact.vala
index 042f827..b6d73bb 100644
--- a/src/contacts-contact.vala
+++ b/src/contacts-contact.vala
@@ -146,15 +146,6 @@ public class Contacts.Contact : GLib.Object  {
     }
   }
 
-  public Icon? serializable_avatar_icon {
-    get {
-      if (individual.avatar != null && individual.avatar.to_string () != null)
-        return individual.avatar;
-
-      return null;
-    }
-  }
-
   private Variant? _avatar_icon_data;
   public Variant? avatar_icon_data {
     get {


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