How to get more than one args from within handle_method_call?

David Zeuthen zeuthen at
Tue May 10 01:03:52 PDT 2011


On Tue, May 10, 2011 at 1:46 AM, Qingping Hou <dave2008713 at> wrote:
> Hi all,
> I am learning to use gdbus bindings but get stuck at receiving args.
> Say I defined a method like this:
>                        "<method name='adduser'>"
>                                "<arg type='s' name='user_name' direction='in'/>"
>                                "<arg type='s' name='user_pass' direction='in'/>"
>                        "</method>"
> How should I write g_variant_get in order to save these two arguments
> into different variables?

Did you read the docs? Specifically

might be helpful.


More information about the dbus mailing list