[evolution-data-server/openismus-work: 40/52] Fixup e_contact_field_type()
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/openismus-work: 40/52] Fixup e_contact_field_type()
- Date: Thu, 22 Nov 2012 04:30:26 +0000 (UTC)
commit 38bd11b17925cdb927890e5db0dbcedb47c0635a
Author: Tristan Van Berkom <tristanvb openismus com>
Date: Mon Nov 19 19:58:30 2012 +0900
Fixup e_contact_field_type()
addressbook/libebook-contacts/e-contact.c | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
---
diff --git a/addressbook/libebook-contacts/e-contact.c b/addressbook/libebook-contacts/e-contact.c
index 9cab71c..cb277b0 100644
--- a/addressbook/libebook-contacts/e-contact.c
+++ b/addressbook/libebook-contacts/e-contact.c
@@ -1425,6 +1425,8 @@ e_contact_duplicate (EContact *contact)
* what kind of value can be passed to e_contact_set().
*
* Returns: The #GType used for @field_id, or %G_TYPE_INVALID if it doesn't exist.
+ *
+ * Since: 3.8
**/
GType
e_contact_field_type (EContactField field_id)
@@ -2588,6 +2590,19 @@ e_contact_cert_copy (EContactCert *cert)
E_CONTACT_DEFINE_BOXED_TYPE (e_contact_cert, "EContactCert")
+
+/**
+ * e_contact_attr_list_copy:
+ * @list: A #GList of strings
+ *
+ * Copies a list of allocated strings, specifically
+ * for the #EContactAttrList boxed type used for multi valued
+ * contact fields.
+ *
+ * Returns: (transfer full): A copy of @list
+ *
+ * Since: 3.8
+ */
GList *
e_contact_attr_list_copy (GList *list)
{
@@ -2602,6 +2617,16 @@ e_contact_attr_list_copy (GList *list)
return g_list_reverse (dup_list);
}
+/**
+ * e_contact_attr_list_free:
+ * @list: A #GList of strings
+ *
+ * Frees a list of allocated strings, specifically
+ * for the #EContactAttrList boxed type used for multi valued
+ * contact fields.
+ *
+ * Since: 3.8
+ */
void
e_contact_attr_list_free (GList *list)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]