From 6f8bd954454016e91a6f3aea22c7c1a47f232fa1 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Mon, 23 Jul 2012 18:15:13 +0100 Subject: lib: Fix some bizarre use of curly braces Wrong place for a switch statement... --- lib/bluetooth-chooser-button.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/bluetooth-chooser-button.c') diff --git a/lib/bluetooth-chooser-button.c b/lib/bluetooth-chooser-button.c index 917f3c27..1648f9ed 100644 --- a/lib/bluetooth-chooser-button.c +++ b/lib/bluetooth-chooser-button.c @@ -282,12 +282,13 @@ bluetooth_chooser_button_set_property (GObject *object, guint property_id, const g_return_if_fail (BLUETOOTH_IS_CHOOSER_BUTTON (object)); button = BLUETOOTH_CHOOSER_BUTTON (object); - switch (property_id) + switch (property_id) { case PROP_DEVICE: { const char *str = g_value_get_string (value); g_return_if_fail (str == NULL || bluetooth_verify_address (str)); set_btdevname (button, str, NULL, NULL); break; + } default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); } -- cgit v1.2.1