aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-location-cdma-bs.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmm-glib/mm-location-cdma-bs.h')
-rw-r--r--libmm-glib/mm-location-cdma-bs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmm-glib/mm-location-cdma-bs.h b/libmm-glib/mm-location-cdma-bs.h
index ca34e2fc..02d5b3f8 100644
--- a/libmm-glib/mm-location-cdma-bs.h
+++ b/libmm-glib/mm-location-cdma-bs.h
@@ -57,6 +57,10 @@ struct _MMLocationCdmaBsClass {
GType mm_location_cdma_bs_get_type (void);
+#if GLIB_CHECK_VERSION(2, 44, 0)
+G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMLocationCdmaBs, g_object_unref)
+#endif
+
gdouble mm_location_cdma_bs_get_longitude (MMLocationCdmaBs *self);
gdouble mm_location_cdma_bs_get_latitude (MMLocationCdmaBs *self);