aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-modem.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-06-25 18:48:52 +0200
committerAleksander Morgado <aleksander@aleksander.es>2021-06-25 19:01:06 +0200
commit12613eac8791fb70b9fe45eb07440c559cc1e198 (patch)
treeb0ade7575773bd2584f53438d097436ae284521b /libmm-glib/mm-modem.c
parent4bf7657086e6ede28cfc2974c499cbe900a59152 (diff)
libmm-glib,modem: move deprecated methods to compat source
Diffstat (limited to 'libmm-glib/mm-modem.c')
-rw-r--r--libmm-glib/mm-modem.c37
1 files changed, 0 insertions, 37 deletions
diff --git a/libmm-glib/mm-modem.c b/libmm-glib/mm-modem.c
index 5ee3d86b..d117e856 100644
--- a/libmm-glib/mm-modem.c
+++ b/libmm-glib/mm-modem.c
@@ -397,43 +397,6 @@ mm_modem_get_current_capabilities (MMModem *self)
/*****************************************************************************/
-#ifndef MM_DISABLE_DEPRECATED
-
-/**
- * mm_modem_get_max_bearers:
- * @self: a #MMModem.
- *
- * Gets the maximum number of defined packet data bearers this #MMModem
- * supports.
- *
- * This is not the number of active/connected bearers the modem supports,
- * but simply the number of bearers that may be defined at any given time.
- * For example, POTS and CDMA2000-only devices support only one bearer,
- * while GSM/UMTS devices typically support three or more, and any
- * LTE-capable device (whether LTE-only, GSM/UMTS-capable, and/or
- * CDMA2000-capable) also typically support three or more.
- *
- * Returns: the maximum number of defined packet data bearers.
- *
- * Since: 1.0
- * Deprecated: 1.18. There is no way to query the modem how many bearers
- * it supports, so the value exposed in this property in all the different
- * implementations is always equal to the one retrieved with
- * mm_modem_get_max_active_bearers(), so there is no point in using this
- * method.
- */
-guint
-mm_modem_get_max_bearers (MMModem *self)
-{
- g_return_val_if_fail (MM_IS_MODEM (self), 0);
-
- return mm_gdbus_modem_get_max_bearers (MM_GDBUS_MODEM (self));
-}
-
-#endif /* MM_DISABLE_DEPRECATED */
-
-/*****************************************************************************/
-
/**
* mm_modem_get_max_active_bearers:
* @self: a #MMModem.