[gnome-bluetooth] applet: No need for an agent in _init()
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] applet: No need for an agent in _init()
- Date: Wed, 27 Oct 2010 20:03:44 +0000 (UTC)
commit c662fe29f739cd4c46fb6a8cf78726765cebcff8
Author: Bastien Nocera <hadess hadess net>
Date: Wed Oct 27 20:48:01 2010 +0100
applet: No need for an agent in _init()
If we don't have a default adapter at all...
applet/lib/bluetooth-applet.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/applet/lib/bluetooth-applet.c b/applet/lib/bluetooth-applet.c
index ed8aafd..07a63c7 100644
--- a/applet/lib/bluetooth-applet.c
+++ b/applet/lib/bluetooth-applet.c
@@ -839,7 +839,7 @@ bluetooth_applet_init (BluetoothApplet *self)
self->client_model = bluetooth_client_get_model (self->client);
self->default_adapter = NULL;
- self->agent = bluetooth_agent_new ();
+ self->agent = NULL;
self->killswitch_manager = bluetooth_killswitch_new();
g_signal_connect (self->killswitch_manager, "state-changed", G_CALLBACK(killswitch_state_change), self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]