bluetooth: Remove unused variable
This commit is contained in:
parent
876e4d4559
commit
f1e20c395d
1 changed files with 0 additions and 2 deletions
|
@ -730,11 +730,9 @@ static void
|
|||
cc_bluetooth_panel_update_state (CcBluetoothPanel *self)
|
||||
{
|
||||
char *bdaddr;
|
||||
gboolean powered;
|
||||
|
||||
g_object_get (G_OBJECT (self->priv->client),
|
||||
"default-adapter", &bdaddr,
|
||||
"default-adapter-powered", &powered,
|
||||
NULL);
|
||||
gtk_widget_set_sensitive (WID ("toolbar"), (bdaddr != NULL));
|
||||
g_free (bdaddr);
|
||||
|
|
Loading…
Add table
Reference in a new issue