[gnome-bluetooth] settings: Fix invalid proxy when updating properties
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] settings: Fix invalid proxy when updating properties
- Date: Fri, 6 Dec 2013 16:54:21 +0000 (UTC)
commit 1c77429c1d009b7ac422cba86eddea5d25f4808f
Author: Bastien Nocera <hadess hadess net>
Date: Fri Dec 6 17:47:15 2013 +0100
settings: Fix invalid proxy when updating properties
Getting the proxy from the proxy itself won't work...
lib/bluetooth-settings-widget.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/bluetooth-settings-widget.c b/lib/bluetooth-settings-widget.c
index 99afa98..5847cc6 100644
--- a/lib/bluetooth-settings-widget.c
+++ b/lib/bluetooth-settings-widget.c
@@ -1223,7 +1223,7 @@ activate_row (BluetoothSettingsWidget *self,
//FIXME pass the row
//FIXME add UUIDs to the row
//FIXME add icon to the row
- g_object_get (G_OBJECT (proxy), "proxy", &proxy, NULL);
+ g_object_get (G_OBJECT (row), "proxy", &proxy, NULL);
update_properties (self, proxy);
g_object_unref (proxy);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]