diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2019-10-28 10:39:22 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2019-10-28 10:39:22 +0100 |
commit | b076653ef0a6fd6a10f08239b728f9d192de9513 (patch) | |
tree | eff63f786098740ee009e3595747526d93d21a14 /libmm-glib/mm-pco.h | |
parent | 5dd829174f63a950b528c76f411e2b3ee276b4b6 (diff) |
libmm-glib,pco: deprecate mm_pco_list_free()
Use g_list_free_full() using g_object_unref() as #GDestroyNotify
function instead.
Diffstat (limited to 'libmm-glib/mm-pco.h')
-rw-r--r-- | libmm-glib/mm-pco.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libmm-glib/mm-pco.h b/libmm-glib/mm-pco.h index 95b9ec16..7e7d4e56 100644 --- a/libmm-glib/mm-pco.h +++ b/libmm-glib/mm-pco.h @@ -64,7 +64,12 @@ gboolean mm_pco_is_complete (MMPco *self); const guint8 *mm_pco_get_data (MMPco *self, gsize *data_size); -void mm_pco_list_free (GList *pco_list); +#ifndef MM_DISABLE_DEPRECATED + +G_DEPRECATED +void mm_pco_list_free (GList *pco_list); + +#endif /*****************************************************************************/ /* ModemManager/libmm-glib/mmcli specific methods */ |