aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-unlock-retries.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmm-glib/mm-unlock-retries.h')
-rw-r--r--libmm-glib/mm-unlock-retries.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmm-glib/mm-unlock-retries.h b/libmm-glib/mm-unlock-retries.h
index babdcbb3..e993821e 100644
--- a/libmm-glib/mm-unlock-retries.h
+++ b/libmm-glib/mm-unlock-retries.h
@@ -62,6 +62,10 @@ struct _MMUnlockRetriesClass {
GType mm_unlock_retries_get_type (void);
+#if GLIB_CHECK_VERSION(2, 44, 0)
+G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMUnlockRetries, g_object_unref)
+#endif
+
guint mm_unlock_retries_get (MMUnlockRetries *self,
MMModemLock lock);