[gnome-bluetooth] lib: Be less shouty in "to string" debug
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] lib: Be less shouty in "to string" debug
- Date: Thu, 13 Sep 2012 15:32:32 +0000 (UTC)
commit 78c3cd4da6ad8c6b2b1555d0eb9989820d224a20
Author: Bastien Nocera <hadess hadess net>
Date: Fri Jul 27 10:47:01 2012 +0200
lib: Be less shouty in "to string" debug
lib/bluetooth-killswitch.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/lib/bluetooth-killswitch.c b/lib/bluetooth-killswitch.c
index 9aaa03f..20ad4b6 100644
--- a/lib/bluetooth-killswitch.c
+++ b/lib/bluetooth-killswitch.c
@@ -94,13 +94,13 @@ state_to_string (BluetoothKillswitchState state)
{
switch (state) {
case BLUETOOTH_KILLSWITCH_STATE_NO_ADAPTER:
- return "BLUETOOTH_KILLSWITCH_STATE_NO_ADAPTER";
+ return "no-adapter";
case BLUETOOTH_KILLSWITCH_STATE_SOFT_BLOCKED:
- return "BLUETOOTH_KILLSWITCH_STATE_SOFT_BLOCKED";
+ return "soft-blocked";
case BLUETOOTH_KILLSWITCH_STATE_UNBLOCKED:
- return "BLUETOOTH_KILLSWITCH_STATE_UNBLOCKED";
+ return "unblocked";
case BLUETOOTH_KILLSWITCH_STATE_HARD_BLOCKED:
- return "BLUETOOTH_KILLSWITCH_STATE_HARD_BLOCKED";
+ return "hard-blocked";
default:
g_assert_not_reached ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]