How to get more than one args from within handle_method_call?

Qingping Hou dave2008713 at gmail.com
Mon May 9 22:46:02 PDT 2011


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?

Thanks,
Houqp


More information about the dbus mailing list