diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2019-10-24 22:58:42 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2019-10-28 10:28:31 +0100 |
commit | 08d23dd64d4566423579d8fbe609ec6145eae861 (patch) | |
tree | a89c7e51adba9ea1670a0d35b28e9aa138fda831 /libmm-glib/mm-location-gps-raw.c | |
parent | 53a7dc2f63ac26edb1a3a8db8368b52cf0417de7 (diff) |
docs,libmm-glib: provide per-version indices
Diffstat (limited to 'libmm-glib/mm-location-gps-raw.c')
-rw-r--r-- | libmm-glib/mm-location-gps-raw.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/libmm-glib/mm-location-gps-raw.c b/libmm-glib/mm-location-gps-raw.c index 4cfe7f08..98e9eca8 100644 --- a/libmm-glib/mm-location-gps-raw.c +++ b/libmm-glib/mm-location-gps-raw.c @@ -34,7 +34,7 @@ * mm_modem_location_get_full_sync(). */ -G_DEFINE_TYPE (MMLocationGpsRaw, mm_location_gps_raw, G_TYPE_OBJECT); +G_DEFINE_TYPE (MMLocationGpsRaw, mm_location_gps_raw, G_TYPE_OBJECT) #define PROPERTY_UTC_TIME "utc-time" #define PROPERTY_LATITUDE "latitude" @@ -59,7 +59,10 @@ struct _MMLocationGpsRawPrivate { * * Gets the UTC time of the location being reported. * - * Returns: a string with the UTC time, or #NULL if unknown. Do not free the returned value, it is owned by @self. + * Returns: a string with the UTC time, or #NULL if unknown. Do not free the + * returned value, it is owned by @self. + * + * Since: 1.0 */ const gchar * mm_location_gps_raw_get_utc_time (MMLocationGpsRaw *self) @@ -78,6 +81,8 @@ mm_location_gps_raw_get_utc_time (MMLocationGpsRaw *self) * Gets the longitude, in the [-180,180] range. * * Returns: the longitude, or %MM_LOCATION_LONGITUDE_UNKNOWN if unknown. + * + * Since: 1.0 */ gdouble mm_location_gps_raw_get_longitude (MMLocationGpsRaw *self) @@ -97,6 +102,8 @@ mm_location_gps_raw_get_longitude (MMLocationGpsRaw *self) * Gets the latitude, in the [-90,90] range. * * Returns: the latitude, or %MM_LOCATION_LATITUDE_UNKNOWN if unknown. + * + * Since: 1.0 */ gdouble mm_location_gps_raw_get_latitude (MMLocationGpsRaw *self) @@ -116,6 +123,8 @@ mm_location_gps_raw_get_latitude (MMLocationGpsRaw *self) * Gets the altitude, in the [-90,90] range. * * Returns: the altitude, or %MM_LOCATION_ALTITUDE_UNKNOWN if unknown. + * + * Since: 1.0 */ gdouble mm_location_gps_raw_get_altitude (MMLocationGpsRaw *self) @@ -369,7 +378,7 @@ mm_location_gps_raw_new (void) static void mm_location_gps_raw_init (MMLocationGpsRaw *self) { - self->priv = G_TYPE_INSTANCE_GET_PRIVATE ((self), + self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self, MM_TYPE_LOCATION_GPS_RAW, MMLocationGpsRawPrivate); |