Mercurial > audlegacy-plugins
diff src/bluetooth/bluetooth.c @ 2846:3d7f01edb388
updated pairing agent - added bonding signals
| author | Paula Stanciu <paula.stanciu@gmail.com> |
|---|---|
| date | Sun, 27 Jul 2008 22:15:41 +0300 |
| parents | d0cbf303869b |
| children | 671cdfc2d62d |
line wrap: on
line diff
--- a/src/bluetooth/bluetooth.c Fri Jul 25 12:03:16 2008 +0300 +++ b/src/bluetooth/bluetooth.c Sun Jul 27 22:15:41 2008 +0300 @@ -148,11 +148,6 @@ //I will have to enable the audio service if necessary dbus_g_object_register_marshaller(marshal_VOID__STRING_UINT_INT, G_TYPE_NONE, G_TYPE_STRING, G_TYPE_UINT, G_TYPE_INT, G_TYPE_INVALID); - dbus_g_proxy_add_signal(obj, "BondingCreated", G_TYPE_STRING, G_TYPE_UINT, G_TYPE_INT, G_TYPE_INVALID); - dbus_g_proxy_connect_signal(obj, "BondingCreated", G_CALLBACK(bounding_created), bus, NULL); - - dbus_g_proxy_add_signal(obj, "BondingRemoved", G_TYPE_STRING, G_TYPE_UINT, G_TYPE_INT, G_TYPE_INVALID); - dbus_g_proxy_connect_signal(obj, "BondingRemoved", G_CALLBACK(bounding_removed), bus, NULL); run_agents(); dbus_g_proxy_call(obj,"CreateBonding",NULL,G_TYPE_STRING,((DeviceData*)(selected_dev->data))->address,G_TYPE_INVALID,G_TYPE_INVALID);
