diff options
Diffstat (limited to 'libmm-glib/mm-modem-location.h')
-rw-r--r-- | libmm-glib/mm-modem-location.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libmm-glib/mm-modem-location.h b/libmm-glib/mm-modem-location.h index e9ab9ea0..5a1d675c 100644 --- a/libmm-glib/mm-modem-location.h +++ b/libmm-glib/mm-modem-location.h @@ -67,6 +67,10 @@ struct _MMModemLocationClass { GType mm_modem_location_get_type (void); +#if GLIB_CHECK_VERSION(2, 44, 0) +G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMModemLocation, g_object_unref) +#endif + const gchar *mm_modem_location_get_path (MMModemLocation *self); gchar *mm_modem_location_dup_path (MMModemLocation *self); |