aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-location-3gpp.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmm-glib/mm-location-3gpp.h')
-rw-r--r--libmm-glib/mm-location-3gpp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmm-glib/mm-location-3gpp.h b/libmm-glib/mm-location-3gpp.h
index abcb4b84..a630974b 100644
--- a/libmm-glib/mm-location-3gpp.h
+++ b/libmm-glib/mm-location-3gpp.h
@@ -55,6 +55,10 @@ struct _MMLocation3gppClass {
GType mm_location_3gpp_get_type (void);
+#if GLIB_CHECK_VERSION(2, 44, 0)
+G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMLocation3gpp, g_object_unref)
+#endif
+
guint mm_location_3gpp_get_mobile_country_code (MMLocation3gpp *self);
guint mm_location_3gpp_get_mobile_network_code (MMLocation3gpp *self);
gulong mm_location_3gpp_get_location_area_code (MMLocation3gpp *self);