[gnome-contacts] ContactsContact: Remove initial_letter property.
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] ContactsContact: Remove initial_letter property.
- Date: Fri, 29 Dec 2017 01:35:18 +0000 (UTC)
commit 412bd16d5b323f1b6466e38bbca637908f87370f
Author: Niels De Graef <nielsdegraef gmail com>
Date: Fri Dec 29 02:16:08 2017 +0100
ContactsContact: Remove initial_letter property.
This property wasn't used, and even more: this should probably better be
done by getting the structured_name of the individual and using
`to_string_with_format("%G")`.
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 f0c6ca6..38219c1 100644
--- a/src/contacts-contact.vala
+++ b/src/contacts-contact.vala
@@ -69,15 +69,6 @@ public class Contacts.Contact : GLib.Object {
return false;
}
- public unichar initial_letter {
- get {
- string name = display_name;
- if (name.length == 0)
- return 0;
- return name.get_char ().totitle ();
- }
- }
-
private string filter_data;
public signal void changed ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]