Michael 'Mickey' Lauer schrieb:
(NOTE: Please don't forget to cc the list)

r...@om-gta02 ~ # ./valadbusclient
Using **pending_return in dbus_connection_send_with_reply_setup() without pending_setup is deprecated and strongly discouraged
Error: Too many arguments in reply; expected 0, got 1

That's expected as the signature of your signal handler

private void discovery_started (dynamic DBus.Object bluez, string address_, string name_)

has been copied from the sample and not been adjusted.
org.freesmartphone.GSM.Device.SignalStrength( i ) has a different
signature, hence you would need to change it to
private void discovery_started (dynamic DBus.Object bluez, int
strength )

Hope this helps,

:M:
Now it works, thank you!

_______________________________________________
devel mailing list
devel@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/devel

Reply via email to