EContact: Added boxed type E_CONTACT_TYPE_ATTR_LIST and e_contact_field_type()
authorTristan Van Berkom <tristanvb@openismus.com>
Fri, 5 Oct 2012 09:35:05 +0000 (18:35 +0900)
committerTristan Van Berkom <tristanvb@openismus.com>
Tue, 20 Nov 2012 06:52:12 +0000 (15:52 +0900)
commit58f38ab1969cb140167585cd8d8080489b49a339
tree6723d2ef14c152847403583a79709d9c3f99d1f5
parent1f20b36dd61309f053aacebe1fc77b16c5c2bf40
EContact: Added boxed type E_CONTACT_TYPE_ATTR_LIST and e_contact_field_type()

This boxed type is used in place of pointer types for properties
installed on EContact which are returned lists of strings.

This does not effect the behavior of e_contact_set()/e_contact_get(),
only it allows e_contact_field_type() to return a distinct type
for those fields, allowing automated code to introspect those useful
contact field types.

The e_contact_field_type() convenience function is used to fetch the GType
for a given field when used with EContact (this allows more automated
routines to be written for EContactFields).
addressbook/libebook/e-contact.c
addressbook/libebook/e-contact.h