[PATCH] iface-modem: fix mm_iface_modem_initialize_finish
Aleksander Morgado
aleksander at aleksander.es
Wed Jul 12 09:03:49 UTC 2017
On 12/07/17 10:14, Ben Chan wrote:
> This fixes commit 66f10d61a20e6c661cb04225835ec7a343f4fe36
> ("iface-modem: port mm_iface_modem_initialize to use GTask"), which
> didn't update mm_iface_modem_initialize_finish to use
> g_task_propagate_boolean.
> ---
Pushed to git master, thanks.
> src/mm-iface-modem.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mm-iface-modem.c b/src/mm-iface-modem.c
> index e79e55c3..418de1c7 100644
> --- a/src/mm-iface-modem.c
> +++ b/src/mm-iface-modem.c
> @@ -4940,7 +4940,7 @@ mm_iface_modem_initialize_finish (MMIfaceModem *self,
> GAsyncResult *res,
> GError **error)
> {
> - return !g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (res), error);
> + return g_task_propagate_boolean (G_TASK (res), error);
> }
>
> void
>
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list