summaryrefslogtreecommitdiff
path: root/telepathy-logger
diff options
context:
space:
mode:
authorCosimo Alfarano <cosimo.alfarano@collabora.co.uk>2011-11-18 12:42:23 +0000
committerCosimo Alfarano <cosimo.alfarano@collabora.co.uk>2011-11-18 14:27:27 +0000
commita1f6b3c5cf3454ab2dc93f07cdaeca4f336f3fea (patch)
treea65bae7702fc368530a26882ea9dc476c44819a9 /telepathy-logger
parentc2f47ed09bad710912c8674320c36a89b0026a05 (diff)
downloadtelepathy-logger-a1f6b3c5cf3454ab2dc93f07cdaeca4f336f3fea.tar.gz
Replace g_ptr_array_free with g_ptr_array_unref
Diffstat (limited to 'telepathy-logger')
-rw-r--r--telepathy-logger/dbus-service.c2
-rw-r--r--telepathy-logger/observer.c2
2 files changed, 2 insertions, 2 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;