# HG changeset patch # User Paula Stanciu # Date 1218130775 -10800 # Node ID 67d527114af54358f32b4fbfe4c6707536dbf6d1 # Parent 15754379dbd5dc41024b1616be83f05de9d6eb20 wrong variable current_device diff -r 15754379dbd5 -r 67d527114af5 src/bluetooth/bluetooth.c --- a/src/bluetooth/bluetooth.c Thu Aug 07 20:00:52 2008 +0300 +++ b/src/bluetooth/bluetooth.c Thu Aug 07 20:39:35 2008 +0300 @@ -90,7 +90,7 @@ { printf("about call\n"); 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_call(obj,"RemoveBonding",NULL,G_TYPE_STRING,((DeviceData*)(current_device->data))->address,G_TYPE_INVALID,G_TYPE_INVALID); + dbus_g_proxy_call(obj,"RemoveBonding",NULL,G_TYPE_STRING,((DeviceData*)(selected_dev->data))->address,G_TYPE_INVALID,G_TYPE_INVALID); }