Mercurial > audlegacy-plugins
comparison 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 |
comparison
equal
deleted
inserted
replaced
2895:92fc55b8da15 | 2896:35773e919dba |
---|---|
154 | 154 |
155 //I will have to enable the audio service if necessary | 155 //I will have to enable the audio service if necessary |
156 | 156 |
157 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); | 157 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); |
158 run_agents(); | 158 run_agents(); |
159 close_call(); | |
160 show_scan(1); | |
161 | |
162 dbus_g_proxy_call(obj,"CreateBonding",NULL,G_TYPE_STRING,current_address,G_TYPE_INVALID,G_TYPE_INVALID); | 159 dbus_g_proxy_call(obj,"CreateBonding",NULL,G_TYPE_STRING,current_address,G_TYPE_INVALID,G_TYPE_INVALID); |
163 return NULL; | 160 return NULL; |
164 } | 161 } |
165 void connect_call(void) | 162 void connect_call(void) |
166 { | 163 { close_call(); |
164 close_window(); | |
165 show_scan(1); | |
166 remove_bonding(); | |
167 current_address = g_strdup(((DeviceData*)(selected_dev->data))->address); | 167 current_address = g_strdup(((DeviceData*)(selected_dev->data))->address); |
168 connect_th = g_thread_create((GThreadFunc)connect_call_th,NULL,TRUE,NULL) ; | 168 connect_th = g_thread_create((GThreadFunc)connect_call_th,NULL,TRUE,NULL) ; |
169 close_call(); | 169 |
170 close_window(); | |
171 show_scan(1); | |
172 } | 170 } |
173 | 171 |
174 | 172 |
175 void play_call() | 173 void play_call() |
176 { | 174 { |