can send two out parameters as dbus method return

Colin Walters walters at
Mon May 17 11:25:14 PDT 2010

On Wed, May 12, 2010 at 7:18 AM, Nuwan Rajitha Gunarathne
<nuwanr at> wrote:
> Hi,
> I tried to return GPtrArray and gchar as a method return.
> but it return errors in server side.
> First I want to know is this ok to create the xml as follows?

Should be, yes.

> GLib-GObject-CRITICAL **: g_value_copy: assertion `G_IS_VALUE (src_value)'
> failed

Try running under a debugger like gdb, set G_DEBUG=fatal-warnings in
the enviornment.

Posting your code would help.

More information about the dbus mailing list