[gnome-contacts/gnome-3-16] Remove Contact.serializable_avatar_icon
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts/gnome-3-16] Remove Contact.serializable_avatar_icon
- Date: Wed, 7 Oct 2015 15:09:58 +0000 (UTC)
commit c1ea64d128240a92f9db01b705c8cfa9f88970e7
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 a19d477..4e18240 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]