changeset 2883:67d527114af5

wrong variable current_device
author Paula Stanciu <paula.stanciu@gmail.com>
date Thu, 07 Aug 2008 20:39:35 +0300
parents 15754379dbd5
children 4128ae5633e4
files src/bluetooth/bluetooth.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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); 
 
 }