From b076653ef0a6fd6a10f08239b728f9d192de9513 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Mon, 28 Oct 2019 10:39:22 +0100 Subject: libmm-glib,pco: deprecate mm_pco_list_free() Use g_list_free_full() using g_object_unref() as #GDestroyNotify function instead. --- libmm-glib/mm-modem-3gpp.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'libmm-glib/mm-modem-3gpp.c') diff --git a/libmm-glib/mm-modem-3gpp.c b/libmm-glib/mm-modem-3gpp.c index f8e6787a..03600c22 100644 --- a/libmm-glib/mm-modem-3gpp.c +++ b/libmm-glib/mm-modem-3gpp.c @@ -353,10 +353,9 @@ mm_modem_3gpp_get_eps_ue_mode_operation (MMModem3gpp *self) * * Get the list of #MMPco received from the network. * - * The caller is responsible for freeing the returned #GList with - * mm_pco_list_free(). - * - * Returns: (element-type ModemManager.Pco) (transfer full): A list of #MMPco. + * Returns: (transfer full) (element-type ModemManager.Pco): a list of #MMPco + * objects, or #NULL if @error is set. The returned value should be freed with + * g_list_free_full() using g_object_unref() as #GDestroyNotify function. * * Since: 1.10 */ -- cgit v1.2.3-70-g09d2