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-nmea.c | |
parent | 53a7dc2f63ac26edb1a3a8db8368b52cf0417de7 (diff) |
docs,libmm-glib: provide per-version indices
Diffstat (limited to 'libmm-glib/mm-location-gps-nmea.c')
-rw-r--r-- | libmm-glib/mm-location-gps-nmea.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/libmm-glib/mm-location-gps-nmea.c b/libmm-glib/mm-location-gps-nmea.c index 9b4f9daf..ed557946 100644 --- a/libmm-glib/mm-location-gps-nmea.c +++ b/libmm-glib/mm-location-gps-nmea.c @@ -34,7 +34,7 @@ * mm_modem_location_get_full_sync(). */ -G_DEFINE_TYPE (MMLocationGpsNmea, mm_location_gps_nmea, G_TYPE_OBJECT); +G_DEFINE_TYPE (MMLocationGpsNmea, mm_location_gps_nmea, G_TYPE_OBJECT) struct _MMLocationGpsNmeaPrivate { GHashTable *traces; @@ -135,7 +135,10 @@ mm_location_gps_nmea_add_trace (MMLocationGpsNmea *self, * * Gets the last cached value of the specific @trace_type given. * - * Returns: the NMEA trace, or %NULL if not available. Do not free the returned value, it is owned by @self. + * Returns: the NMEA trace, or %NULL if not available. Do not free the returned + * value, it is owned by @self. + * + * Since: 1.0 */ const gchar * mm_location_gps_nmea_get_trace (MMLocationGpsNmea *self, @@ -163,7 +166,10 @@ build_full_foreach (const gchar *trace_type, * * Gets a compilation of all cached traces. * - * Returns: (transfer full): a string containing all traces, or #NULL if none available. The returned value should be freed with g_free(). + * Returns: (transfer full): a string containing all traces, or #NULL if none + * available. The returned value should be freed with g_free(). + * + * Since: 1.0 */ gchar * mm_location_gps_nmea_build_full (MMLocationGpsNmea *self) @@ -249,7 +255,7 @@ mm_location_gps_nmea_new (void) static void mm_location_gps_nmea_init (MMLocationGpsNmea *self) { - self->priv = G_TYPE_INSTANCE_GET_PRIVATE ((self), + self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self, MM_TYPE_LOCATION_GPS_NMEA, MMLocationGpsNmeaPrivate); |