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

Aleksander Morgado aleksander at aleksander.es
Wed Sep 16 13:17:26 PDT 2015


On Wed, Sep 16, 2015 at 3:46 PM, Krzysztof Kotlenga <k.kotlenga at sims.pl> wrote:
> ---
>  libmm-glib/mm-modem-simple.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>

Pushed to git master and mm-1-4, thanks!

> 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
>
> _______________________________________________
> ModemManager-devel mailing list
> ModemManager-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/modemmanager-devel



-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list