aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-modem-cdma.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmm-glib/mm-modem-cdma.h')
-rw-r--r--libmm-glib/mm-modem-cdma.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmm-glib/mm-modem-cdma.h b/libmm-glib/mm-modem-cdma.h
index 31e7824a..3a78a156 100644
--- a/libmm-glib/mm-modem-cdma.h
+++ b/libmm-glib/mm-modem-cdma.h
@@ -64,6 +64,10 @@ struct _MMModemCdmaClass {
GType mm_modem_cdma_get_type (void);
+#if GLIB_CHECK_VERSION(2, 44, 0)
+G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMModemCdma, g_object_unref)
+#endif
+
const gchar *mm_modem_cdma_get_path (MMModemCdma *self);
gchar *mm_modem_cdma_dup_path (MMModemCdma *self);