diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-06-25 18:43:06 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-06-25 19:01:06 +0200 |
commit | 4bf7657086e6ede28cfc2974c499cbe900a59152 (patch) | |
tree | 89c4407ddf69604a6e45abe5cf90245f457443ab /libmm-glib/mm-location-3gpp.c | |
parent | 219700ba6d9df49427320eb2cbfd8eae850b8921 (diff) |
libmm-glib,location-3gpp: move deprecated methods to compat source
Diffstat (limited to 'libmm-glib/mm-location-3gpp.c')
-rw-r--r-- | libmm-glib/mm-location-3gpp.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/libmm-glib/mm-location-3gpp.c b/libmm-glib/mm-location-3gpp.c index 30429e56..1bca53f1 100644 --- a/libmm-glib/mm-location-3gpp.c +++ b/libmm-glib/mm-location-3gpp.c @@ -142,39 +142,6 @@ mm_location_3gpp_get_mobile_country_code (MMLocation3gpp *self) /*****************************************************************************/ -#ifndef MM_DISABLE_DEPRECATED - -/** - * mm_location_3gpp_get_mobile_network_code: - * @self: a #MMLocation3gpp. - * - * Gets the Mobile Network Code of the 3GPP network. - * - * Note that 0 may actually be a valid MNC. In general, the MNC should be - * considered valid just if the reported MCC is valid, as MCC should never - * be 0. - * - * Returns: the MNC, or 0 if unknown. - * - * Since: 1.0 - * Deprecated: 1.18.0. This function can not separate between two-digit MNCs - * and three-digit MNCs with a leading zero. Use mm_location_3gpp_get_operator_code() - * instead. - */ -guint -mm_location_3gpp_get_mobile_network_code (MMLocation3gpp *self) -{ - g_return_val_if_fail (MM_IS_LOCATION_3GPP (self), 0); - - if (!self->priv->operator_code) - return 0; - return strtol (self->priv->operator_code + 3, NULL, 10); -} - -#endif /* MM_DISABLE_DEPRECATED */ - -/*****************************************************************************/ - /** * mm_location_3gpp_get_location_area_code: * @self: a #MMLocation3gpp. |