diff options
author | Cody Russell <crussell@canonical.com> | 2010-02-12 15:38:37 -0600 |
---|---|---|
committer | Cody Russell <crussell@canonical.com> | 2010-02-12 15:38:37 -0600 |
commit | e18cf834e60e61bc836d42b6ae1201b595591ce3 (patch) | |
tree | bb18d7d56ae6d62b99e89fc2b1c1c6a178559816 /src | |
parent | 1c7a301a115fd4b333fea061c48fa6065316cd80 (diff) | |
download | ayatana-indicator-application-e18cf834e60e61bc836d42b6ae1201b595591ce3.tar.gz ayatana-indicator-application-e18cf834e60e61bc836d42b6ae1201b595591ce3.tar.bz2 ayatana-indicator-application-e18cf834e60e61bc836d42b6ae1201b595591ce3.zip |
Change the indentation for this case to be the same as the others.
Diffstat (limited to 'src')
-rw-r--r-- | src/libappindicator/app-indicator.c | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/libappindicator/app-indicator.c b/src/libappindicator/app-indicator.c index 1f39f57..b73ce05 100644 --- a/src/libappindicator/app-indicator.c +++ b/src/libappindicator/app-indicator.c @@ -447,23 +447,23 @@ app_indicator_set_property (GObject * object, guint prop_id, const GValue * valu switch (prop_id) { case PROP_ID: - if (priv->id != NULL) { - g_warning ("Resetting ID value when I already had a value of: %s", priv->id); - break; - } - - priv->id = g_strdup (g_value_get_string (value)); - - priv->clean_id = g_strdup(priv->id); - gchar * cleaner; - for (cleaner = priv->clean_id; *cleaner != '\0'; cleaner++) { - if (!g_ascii_isalnum(*cleaner)) { - *cleaner = '_'; - } - } - - check_connect (self); - break; + if (priv->id != NULL) { + g_warning ("Resetting ID value when I already had a value of: %s", priv->id); + break; + } + + priv->id = g_strdup (g_value_get_string (value)); + + priv->clean_id = g_strdup(priv->id); + gchar * cleaner; + for (cleaner = priv->clean_id; *cleaner != '\0'; cleaner++) { + if (!g_ascii_isalnum(*cleaner)) { + *cleaner = '_'; + } + } + + check_connect (self); + break; case PROP_CATEGORY: enum_val = g_enum_get_value_by_nick ((GEnumClass *) g_type_class_ref (APP_INDICATOR_TYPE_INDICATOR_CATEGORY), |