diff options
author | Bastien Nocera <hadess@hadess.net> | 2012-07-23 18:15:13 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2012-07-26 17:52:13 +0200 |
commit | 6f8bd954454016e91a6f3aea22c7c1a47f232fa1 (patch) | |
tree | 31bac39243c3a2465c24b4013377f8d4c71bff22 /lib/bluetooth-chooser-button.c | |
parent | 03974a241f11e2b17c0017b21b6680e9a52d2803 (diff) | |
download | gnome-bluetooth-6f8bd954454016e91a6f3aea22c7c1a47f232fa1.tar.gz |
lib: Fix some bizarre use of curly braces
Wrong place for a switch statement...
Diffstat (limited to 'lib/bluetooth-chooser-button.c')
-rw-r--r-- | lib/bluetooth-chooser-button.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); } |