[gnome-bluetooth] applet: Fix wrong property being used



commit c4e928b8e658899b23866c803a93a5d5d623e05d
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Nov 4 19:08:13 2011 +0000

    applet: Fix wrong property being used

 applet/bluetooth-applet.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/applet/bluetooth-applet.c b/applet/bluetooth-applet.c
index 5709b83..07cc9c1 100644
--- a/applet/bluetooth-applet.c
+++ b/applet/bluetooth-applet.c
@@ -699,7 +699,7 @@ bluetooth_applet_get_discoverable (BluetoothApplet* self)
 	gboolean ret;
 	g_return_val_if_fail (BLUETOOTH_IS_APPLET (self), FALSE);
 
-	g_object_get (G_OBJECT (self->client), "discoverable", &ret, NULL);
+	g_object_get (G_OBJECT (self->client), "default-adapter-discoverable", &ret, NULL);
 	return ret;
 }
 
@@ -714,7 +714,7 @@ bluetooth_applet_set_discoverable (BluetoothApplet* self, gboolean disc)
 {
 	g_return_if_fail (BLUETOOTH_IS_APPLET (self));
 
-	g_object_set (G_OBJECT (self->client), "discoverable", disc, NULL);
+	g_object_set (G_OBJECT (self->client), "default-adapter-discoverable", disc, NULL);
 }
 
 /**



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]