[PATCH] libmm-glib, simple: add missing introspection annotations to disconnect()

Krzysztof Kotlenga k.kotlenga at sims.pl
Wed Sep 16 06:46:12 PDT 2015


---
 libmm-glib/mm-modem-simple.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libmm-glib/mm-modem-simple.c b/libmm-glib/mm-modem-simple.c
index b96e31d..910f06b 100644
--- a/libmm-glib/mm-modem-simple.c
+++ b/libmm-glib/mm-modem-simple.c
@@ -294,7 +294,7 @@ mm_modem_simple_disconnect_finish (MMModemSimple *self,
 /**
  * mm_modem_simple_disconnect:
  * @self: A #MMModemSimple.
- * @bearer: Path of the bearer to disconnect, or %NULL to disconnect all connected bearers.
+ * @bearer: (allow-none): Path of the bearer to disconnect, or %NULL to disconnect all connected bearers.
  * @cancellable: (allow-none): A #GCancellable or %NULL.
  * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
  * @user_data: User data to pass to @callback.
@@ -325,7 +325,7 @@ mm_modem_simple_disconnect (MMModemSimple *self,
 /**
  * mm_modem_simple_disconnect_sync:
  * @self: A #MMModemSimple.
- * @bearer: Path of the bearer to disconnect, or %NULL to disconnect all connected bearers.
+ * @bearer: (allow-none): Path of the bearer to disconnect, or %NULL to disconnect all connected bearers.
  * @cancellable: (allow-none): A #GCancellable or %NULL.
  * @error: Return location for error or %NULL.
  *
-- 
2.1.4



More information about the ModemManager-devel mailing list