Interacting with Skype via DBus/GLib
mardy at users.sourceforge.net
Sat Dec 25 02:29:59 PST 2010
On 12/25/2010 11:31 AM, Osmo Antero Maatta wrote:
> But I have problems with setting the "Notify" signal right for Skype.
> The example code below (t1.c) never receives notifications from the Skype.
Yes, because "Notify" is not a signal, but a method:
> method call sender=:1.121 -> dest=:1.124 serial=20
> path=/com/Skype/Client; interface=com.Skype.API.Client; member=Notify
> string "CALL 64 XXX"
The py-test1.py program is registering an object, not a proxy. You
should not call dbus_g_proxy_new_for_name() in
skype_connect_dbus_signals(), but dbus_g_connection_register_g_object().
http://blog.mardy.it <- geek in un lingua international!
More information about the dbus