How to get more than one args from within handle_method_call?
zeuthen at gmail.com
Tue May 10 01:03:52 PDT 2011
On Tue, May 10, 2011 at 1:46 AM, Qingping Hou <dave2008713 at gmail.com> 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'/>"
> 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