... while still chasing the signals, a short answer on the return values
from a DBus method. 
Returning a tuple of (integer, string)  with the out_signature="(is)"
works fine as it can be converted into a struct in vala.
Returning an integer and a string value with the out_signature="is" does
not seem to work as it can not be converted directly into any vala type,
at least I have not found any other way...

    

On Mi, 2011-11-30 at 17:42 +0100, tomw wrote:
> Hi folks,
> 
> I'm running a program which is using the clutter and which wherefore
> uses the clutter mainloop (Clutter.main()). Everything works fine,
> except I do not receive any signals I'm connecting to. I can call remote
> methods via DBus, but I don't get any signals. Running the same code
> with GLib.MainLoop works fine. Anyone has come across similar issues?
> 
> BTW, any idea on how to handle DBus-method out_signatures like "is" in a
> method call? Unfortunately vala supports only one or none return
> parameter.
> 
> Thanks,
> 
>  


_______________________________________________
vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to