ERROR "cannot initialize GValue with type `GValueArray_gchararray+GHashTable_gchararray+GValue__"

s s sk53901 at gmail.com
Thu Jul 29 23:28:24 PDT 2010


Hi all,
 i am calling a method with signature "s","sv" and i am getting the below
error

gchar *str=NULL;
GValue val={0,};
g_value_init(&val,G_TYPE_STRING);
dbus_g_proxy_call (proxy,
<method-name>,&error,G_TYPE_STRING,"*12#",G_TYPE_INVALID,G_TYPE_STRING,&str,G_TYPE_VALUE,&val,
G_TYPE_INVALID);

if i execute above code , error is
" GLib-GObject-WARNING **: gvalue.c:185: cannot initialize GValue with type
`GValueArray_gchararray+GHashTable_gchararray+GValue__', the value has
already been initialized as `gchararray'

Couldn't convert argument, expected "GValue" "


can anybody tell me what does above error means?

and what are the argument to be passed to proxy call if signature is
"(sa{sv})"?

can any body please help?

thanks
ss.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20100730/bf8bf1c6/attachment.html>


More information about the dbus mailing list