aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-modem-time.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmm-glib/mm-modem-time.h')
-rw-r--r--libmm-glib/mm-modem-time.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmm-glib/mm-modem-time.h b/libmm-glib/mm-modem-time.h
index c0211792..025d1a57 100644
--- a/libmm-glib/mm-modem-time.h
+++ b/libmm-glib/mm-modem-time.h
@@ -65,6 +65,10 @@ struct _MMModemTimeClass {
GType mm_modem_time_get_type (void);
+#if GLIB_CHECK_VERSION(2, 44, 0)
+G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMModemTime, g_object_unref)
+#endif
+
const gchar *mm_modem_time_get_path (MMModemTime *self);
gchar *mm_modem_time_dup_path (MMModemTime *self);