Mercurial > audlegacy-plugins
comparison src/bluetooth/bluetooth.c @ 2884:4128ae5633e4
disable play button while pairing - some cleanups
author | Paula Stanciu <paula.stanciu@gmail.com> |
---|---|
date | Sat, 09 Aug 2008 20:46:49 +0300 |
parents | 67d527114af5 |
children | 5e97b55f87cf |
comparison
equal
deleted
inserted
replaced
2883:67d527114af5 | 2884:4128ae5633e4 |
---|---|
128 //g_list_free(current_device); | 128 //g_list_free(current_device); |
129 } | 129 } |
130 static void remove_bonding() | 130 static void remove_bonding() |
131 { | 131 { |
132 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); | 132 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); |
133 g_mutex_lock(bonded_dev_mutex); | |
134 dbus_g_proxy_call(obj,"RemoveBonding",NULL,G_TYPE_STRING,bonded_dev,G_TYPE_INVALID,G_TYPE_INVALID); | 133 dbus_g_proxy_call(obj,"RemoveBonding",NULL,G_TYPE_STRING,bonded_dev,G_TYPE_INVALID,G_TYPE_INVALID); |
135 g_mutex_unlock(bonded_dev_mutex); | |
136 | 134 |
137 } | 135 } |
138 void refresh_call(void) | 136 void refresh_call(void) |
139 { | 137 { |
140 printf("refresh function called\n"); | 138 printf("refresh function called\n"); |