diff options
Diffstat (limited to 'libmm-glib/mm-modem-3gpp.h')
-rw-r--r-- | libmm-glib/mm-modem-3gpp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libmm-glib/mm-modem-3gpp.h b/libmm-glib/mm-modem-3gpp.h index 534bc77f..c3fc0c0b 100644 --- a/libmm-glib/mm-modem-3gpp.h +++ b/libmm-glib/mm-modem-3gpp.h @@ -65,6 +65,10 @@ struct _MMModem3gppClass { GType mm_modem_3gpp_get_type (void); +#if GLIB_CHECK_VERSION(2, 44, 0) +G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMModem3gpp, g_object_unref) +#endif + const gchar *mm_modem_3gpp_get_path (MMModem3gpp *self); gchar *mm_modem_3gpp_dup_path (MMModem3gpp *self); |