Mercurial > audlegacy-plugins
diff src/bluetooth/bluetooth.c @ 2896:35773e919dba
removed unsed mutex - and a dupplicate function call
author | Paula Stanciu <paula.stanciu@gmail.com> |
---|---|
date | Wed, 13 Aug 2008 09:35:56 +0300 |
parents | 5e97b55f87cf |
children | 223822ba79f2 |
line wrap: on
line diff
--- a/src/bluetooth/bluetooth.c Wed Aug 13 01:59:25 2008 +0300 +++ b/src/bluetooth/bluetooth.c Wed Aug 13 09:35:56 2008 +0300 @@ -156,19 +156,17 @@ 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); run_agents(); - close_call(); - show_scan(1); - dbus_g_proxy_call(obj,"CreateBonding",NULL,G_TYPE_STRING,current_address,G_TYPE_INVALID,G_TYPE_INVALID); return NULL; } void connect_call(void) -{ +{ close_call(); + close_window(); + show_scan(1); + remove_bonding(); current_address = g_strdup(((DeviceData*)(selected_dev->data))->address); connect_th = g_thread_create((GThreadFunc)connect_call_th,NULL,TRUE,NULL) ; - close_call(); - close_window(); - show_scan(1); + }