diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2020-01-01 09:22:41 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2020-01-01 09:22:41 +0100 |
commit | 70910a6713fed1996afbde69d0be18ac55ae8244 (patch) | |
tree | 22ef9d913a6b168f9610fd5e29ba337058a73b9a /libmm-glib/mm-location-gps-nmea.h | |
parent | 6c1991e93063181e152c20eb69500cef8e9b1a37 (diff) |
libmm-glib,nmea: deprecate mm_location_gps_nmea_build_full()
The new mm_location_gps_nmea_get_traces() is a much more generic way
to retrieve the full list of traces and suits the libmm-glib API much
better.
Diffstat (limited to 'libmm-glib/mm-location-gps-nmea.h')
-rw-r--r-- | libmm-glib/mm-location-gps-nmea.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libmm-glib/mm-location-gps-nmea.h b/libmm-glib/mm-location-gps-nmea.h index 286069c3..ba90788c 100644 --- a/libmm-glib/mm-location-gps-nmea.h +++ b/libmm-glib/mm-location-gps-nmea.h @@ -62,7 +62,11 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMLocationGpsNmea, g_object_unref) const gchar *mm_location_gps_nmea_get_trace (MMLocationGpsNmea *self, const gchar *trace_type); gchar **mm_location_gps_nmea_get_traces (MMLocationGpsNmea *self); -gchar *mm_location_gps_nmea_build_full (MMLocationGpsNmea *self); + +#ifndef MM_DISABLE_DEPRECATED +G_DEPRECATED_FOR(mm_location_gps_nmea_get_traces) +gchar *mm_location_gps_nmea_build_full (MMLocationGpsNmea *self); +#endif /*****************************************************************************/ /* ModemManager/libmm-glib/mmcli specific methods */ |