On Mon, Mar 22, 2010 at 14:55:15 +0100, Fabian Deutsch wrote:
> Hello,
>
> during the last two days I tried to figure out how to use signals with
> dbus. There were a couple of problems, finally a testcase was created,
> showing that signals are woking fine:
> http://git.gnome.org/browse/vala/diff/tests/dbus/signals.test
>
> But this does not work in all cases. The attached testcase shows that
> signals do not work, if the client casts the dbus.object to the original
> class and not an interface (as in the testcase above).
>
> Hopefully the testcase is correct and it shows the problem.
I don't think that it's supposed to work. The object on the client is *not*
of the same class as on server, but rather a *proxy* of type DBus.Object.
In fact, I would expect the cast to give a critical warning, return null and
the following statements either giving their own critical warnings or blow
up.
Regards,
Jan
--
Jan 'Bulb' Hudec <[email protected]>
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list