diff options
author | Ted Gould <ted@gould.cx> | 2011-03-29 10:43:58 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-03-29 10:43:58 -0500 |
commit | 1efaecaa2d0bbbd371ba31a4593a3c8c5a64fa0a (patch) | |
tree | 2783126ead10e69060d89391e17bd4d8aef0686c | |
parent | 26497848f53125483f26591b4667f7e9c50d96a2 (diff) | |
parent | 09ad161fe9f61375d15abf38a6fefad6b23050e6 (diff) | |
download | ayatana-indicator-datetime-1efaecaa2d0bbbd371ba31a4593a3c8c5a64fa0a.tar.gz ayatana-indicator-datetime-1efaecaa2d0bbbd371ba31a4593a3c8c5a64fa0a.tar.bz2 ayatana-indicator-datetime-1efaecaa2d0bbbd371ba31a4593a3c8c5a64fa0a.zip |
Fix case statement brackets
-rw-r--r-- | src/indicator-datetime.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/indicator-datetime.c b/src/indicator-datetime.c index f789e2b..aed498d 100644 --- a/src/indicator-datetime.c +++ b/src/indicator-datetime.c @@ -525,7 +525,7 @@ set_property (GObject * object, guint prop_id, const GValue * value, GParamSpec } break; } - case PROP_SHOW_SECONDS: + case PROP_SHOW_SECONDS: { if (g_value_get_boolean(value) != self->priv->show_seconds) { self->priv->show_seconds = !self->priv->show_seconds; if (self->priv->time_mode != SETTINGS_TIME_CUSTOM) { @@ -534,7 +534,8 @@ set_property (GObject * object, guint prop_id, const GValue * value, GParamSpec } } break; - case PROP_SHOW_DAY: + } + case PROP_SHOW_DAY: { if (g_value_get_boolean(value) != self->priv->show_day) { self->priv->show_day = !self->priv->show_day; if (self->priv->time_mode != SETTINGS_TIME_CUSTOM) { @@ -542,7 +543,8 @@ set_property (GObject * object, guint prop_id, const GValue * value, GParamSpec } } break; - case PROP_SHOW_DATE: + } + case PROP_SHOW_DATE: { if (g_value_get_boolean(value) != self->priv->show_date) { self->priv->show_date = !self->priv->show_date; if (self->priv->time_mode != SETTINGS_TIME_CUSTOM) { @@ -550,6 +552,7 @@ set_property (GObject * object, guint prop_id, const GValue * value, GParamSpec } } break; + } case PROP_CUSTOM_TIME_FORMAT: { const gchar * newstr = g_value_get_string(value); if (g_strcmp0(newstr, self->priv->custom_string) != 0) { @@ -585,11 +588,12 @@ set_property (GObject * object, guint prop_id, const GValue * value, GParamSpec gtk_widget_set_visible (GTK_WIDGET (self->priv->ido_calendar), self->priv->show_calendar); } break; - } - default: + } + default: { G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); return; } + } if (!update) { return; |