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
This commit is contained in:
David King 2015-10-05 16:14:38 -04:00 committed by David King
parent 7026d477d2
commit c1ea64d128

View file

@ -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 {