aboutsummaryrefslogtreecommitdiff
path: root/introspection
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2018-11-01 21:46:37 +0100
committerDan Williams <dcbw@redhat.com>2018-11-26 16:51:35 +0000
commit72674225caf25e680003fb52fa805bf4615ad18f (patch)
tree3479dd68c7dfa2eba33f761fb7eeb6bce908ad8d /introspection
parenta15193b7ca7c1b18f3aa6ee290f1c2866ab40a8c (diff)
api,modem: deprecate ListBearers() method
This method is completely unnecessary as we have the readable Bearers property already in place, so let's deprecate it. Worth noting that the mm_modem_list_bearers() async/sync methods in libmm-glib were not really using the ListBearers() method anyway, they are using the property directly. These methods are NOT deprecated, because they allow us to get a list of MMBearer objects, instead of just the list of DBus paths that we get when reading the Bearers property directly. We also remove --list-bearers from the mmcli operation list as we have already the same information in the standard modem output.
Diffstat (limited to 'introspection')
-rw-r--r--introspection/org.freedesktop.ModemManager1.Modem.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/introspection/org.freedesktop.ModemManager1.Modem.xml b/introspection/org.freedesktop.ModemManager1.Modem.xml
index b84f2083..54307ae3 100644
--- a/introspection/org.freedesktop.ModemManager1.Modem.xml
+++ b/introspection/org.freedesktop.ModemManager1.Modem.xml
@@ -42,6 +42,9 @@
List configured packet data bearers (EPS Bearers, PDP Contexts, or
CDMA2000 Packet Data Sessions).
+
+ Deprecated: 1.10.0. Use #org.freedesktop.ModemManager1.Modem:Bearers
+ property instead.
-->
<method name="ListBearers">
<arg name="bearers" type="ao" direction="out" />