Hi Daniel,

> ---
>  src/session.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/session.c b/src/session.c
> index b67b2ea..e78be1d 100644
> --- a/src/session.c
> +++ b/src/session.c
> @@ -1559,7 +1559,7 @@ static GDBusMethodTable session_methods[] = {
>       { "Destroy",    "",   "", destroy_session    },
>       { "Connect",    "",   "", connect_session    },
>       { "Disconnect", "",   "", disconnect_session },
> -     { "Change",     "sv", "", change_session     },
> +     { "Change",     "a{sv}", "", change_session  },
>       { },
>  };
>  

the documentation agrees with sv signature:

                void Change(string name, variant value)

                        Change the value of certain settings. Not all
                        settings can be changed. Normally this should not
                        be needed or an extra session should be created.
                        However in some cases it makes sense to change
                        a value and trigger different behavior.

                        A change of a setting will cause an update notification
                        to be sent. Some changes might cause the session to
                        be moved to offline state.

Regards

Marcel


_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to