diff options
author | Cosimo Alfarano <cosimo.alfarano@collabora.co.uk> | 2011-11-18 12:42:23 +0000 |
---|---|---|
committer | Cosimo Alfarano <cosimo.alfarano@collabora.co.uk> | 2011-11-18 14:27:27 +0000 |
commit | a1f6b3c5cf3454ab2dc93f07cdaeca4f336f3fea (patch) | |
tree | a65bae7702fc368530a26882ea9dc476c44819a9 | |
parent | c2f47ed09bad710912c8674320c36a89b0026a05 (diff) | |
download | telepathy-logger-a1f6b3c5cf3454ab2dc93f07cdaeca4f336f3fea.tar.gz |
Replace g_ptr_array_free with g_ptr_array_unref
-rw-r--r-- | telepathy-logger/dbus-service.c | 2 | ||||
-rw-r--r-- | telepathy-logger/observer.c | 2 | ||||
-rw-r--r-- | tests/lib/contacts-conn.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/telepathy-logger/dbus-service.c b/telepathy-logger/dbus-service.c index b253bb2..5dcacc5 100644 --- a/telepathy-logger/dbus-service.c +++ b/telepathy-logger/dbus-service.c @@ -420,7 +420,7 @@ pendingproc_get_favourite_contacts (TplActionChain *action_chain, tpl_svc_logger_return_from_get_favourite_contacts (closure->context, packed); - g_ptr_array_free (packed, TRUE); + g_ptr_array_unref (packed); favourite_contact_closure_free (closure); if (action_chain != NULL) diff --git a/telepathy-logger/observer.c b/telepathy-logger/observer.c index 318805c..96e44a2 100644 --- a/telepathy-logger/observer.c +++ b/telepathy-logger/observer.c @@ -279,7 +279,7 @@ tpl_observer_get_property (GObject *object, g_value_set_boxed (value, array); - g_ptr_array_free (array, TRUE); + g_ptr_array_unref (array); g_list_free (keys); break; diff --git a/tests/lib/contacts-conn.c b/tests/lib/contacts-conn.c index c2d7cbc..78ce1e5 100644 --- a/tests/lib/contacts-conn.c +++ b/tests/lib/contacts-conn.c @@ -539,7 +539,7 @@ tp_tests_contacts_connection_change_aliases (TpTestsContactsConnection *self, structs); g_ptr_array_foreach (structs, (GFunc) g_value_array_free, NULL); - g_ptr_array_free (structs, TRUE); + g_ptr_array_unref (structs); } void |