[gnome-maps] contactStore: Don't transfer ownership of contacts



commit 271c2b60e84acc9a8392689bc08a9ee892f5babe
Author: Marcus Lundblad <ml update uu se>
Date:   Fri Mar 2 22:14:12 2018 +0100

    contactStore: Don't transfer ownership of contacts
    
    Don't transfer ownership of list returned by
    maps_contact_store_get_contacts(), as the contact
    store instance frees it when getting disposed.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=794002

 lib/maps-contact-store.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/maps-contact-store.c b/lib/maps-contact-store.c
index 3c355d6..1c9ea34 100644
--- a/lib/maps-contact-store.c
+++ b/lib/maps-contact-store.c
@@ -309,7 +309,7 @@ maps_contact_store_load (MapsContactStore *store)
  * maps_contact_store_get_contacts:
  * @store: A #MapsContactStore object
  *
- * Returns: (element-type MapsContact) (transfer container): a list of #MapsContact,
+ * Returns: (element-type MapsContact) (transfer none): a list of #MapsContact,
  */
 GList *
 maps_contact_store_get_contacts (MapsContactStore *store)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]