diff options
Diffstat (limited to 'libmm-glib/mm-location-gps-raw.h')
-rw-r--r-- | libmm-glib/mm-location-gps-raw.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libmm-glib/mm-location-gps-raw.h b/libmm-glib/mm-location-gps-raw.h index 8ef3747d..97783774 100644 --- a/libmm-glib/mm-location-gps-raw.h +++ b/libmm-glib/mm-location-gps-raw.h @@ -57,6 +57,10 @@ struct _MMLocationGpsRawClass { GType mm_location_gps_raw_get_type (void); +#if GLIB_CHECK_VERSION(2, 44, 0) +G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMLocationGpsRaw, g_object_unref) +#endif + const gchar *mm_location_gps_raw_get_utc_time (MMLocationGpsRaw *self); gdouble mm_location_gps_raw_get_longitude (MMLocationGpsRaw *self); gdouble mm_location_gps_raw_get_latitude (MMLocationGpsRaw *self); |