[gnome-bluetooth] applet: C89 fix
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] applet: C89 fix
- Date: Wed, 27 Oct 2010 20:03:34 +0000 (UTC)
commit 8d84e05d360655f5bf7771624cc0f8085329b206
Author: Bastien Nocera <hadess hadess net>
Date: Wed Oct 27 20:46:25 2010 +0100
applet: C89 fix
applet/lib/bluetooth-applet.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/applet/lib/bluetooth-applet.c b/applet/lib/bluetooth-applet.c
index b2b0ea2..5000825 100644
--- a/applet/lib/bluetooth-applet.c
+++ b/applet/lib/bluetooth-applet.c
@@ -765,8 +765,9 @@ bluetooth_applet_get_devices (BluetoothApplet* self)
dev->connected = FALSE;
dev->can_connect = FALSE;
if (services != NULL) {
- dev->can_connect = TRUE;
GList *list, *l;
+
+ dev->can_connect = TRUE;
list = g_hash_table_get_values (services);
for (l = list; l != NULL; l = l->next) {
BluetoothStatus val = GPOINTER_TO_INT (l->data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]