aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-location-gps-nmea.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmm-glib/mm-location-gps-nmea.h')
-rw-r--r--libmm-glib/mm-location-gps-nmea.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmm-glib/mm-location-gps-nmea.h b/libmm-glib/mm-location-gps-nmea.h
index 3317074b..6c31d984 100644
--- a/libmm-glib/mm-location-gps-nmea.h
+++ b/libmm-glib/mm-location-gps-nmea.h
@@ -55,6 +55,10 @@ struct _MMLocationGpsNmeaClass {
GType mm_location_gps_nmea_get_type (void);
+#if GLIB_CHECK_VERSION(2, 44, 0)
+G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMLocationGpsNmea, g_object_unref)
+#endif
+
const gchar *mm_location_gps_nmea_get_trace (MMLocationGpsNmea *self,
const gchar *trace_type);
gchar *mm_location_gps_nmea_build_full (MMLocationGpsNmea *self);