[gnome-control-center] bluetooth: Remove unused variable
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] bluetooth: Remove unused variable
- Date: Thu, 8 Nov 2012 17:38:32 +0000 (UTC)
commit f1e20c395d7c06c85014b2c9cfab4b80f1de43e7
Author: Bastien Nocera <hadess hadess net>
Date: Thu Nov 8 18:00:03 2012 +0100
bluetooth: Remove unused variable
panels/bluetooth/cc-bluetooth-panel.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/panels/bluetooth/cc-bluetooth-panel.c b/panels/bluetooth/cc-bluetooth-panel.c
index 0ace8ac..bfad56e 100644
--- a/panels/bluetooth/cc-bluetooth-panel.c
+++ b/panels/bluetooth/cc-bluetooth-panel.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]