summaryrefslogtreecommitdiff
path: root/client/cd-util.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2013-01-11 12:05:53 +0000
committerRichard Hughes <richard@hughsie.com>2013-01-11 12:06:39 +0000
commit86acd4dccb41f5421638719e8b3059120db838ea (patch)
treedcaa542767678a6980951dc18298d22d92782137 /client/cd-util.c
parente5a1cd2af23f3f44a03a4e97f397be163b833d9e (diff)
downloadcolord-86acd4dccb41f5421638719e8b3059120db838ea.tar.gz
trivial: Fix up some whitespace problems
No logic changes.
Diffstat (limited to 'client/cd-util.c')
-rw-r--r--client/cd-util.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/client/cd-util.c b/client/cd-util.c
index c0b4eba..4ceebaa 100644
--- a/client/cd-util.c
+++ b/client/cd-util.c
@@ -518,7 +518,7 @@ cd_util_add (GPtrArray *array, const gchar *name, const gchar *description, CdUt
/* add each one */
names = g_strsplit (name, ",", -1);
- for (i=0; names[i] != NULL; i++) {
+ for (i = 0; names[i] != NULL; i++) {
item = g_new0 (CdUtilItem, 1);
item->name = g_strdup (names[i]);
if (i == 0) {
@@ -631,7 +631,7 @@ cd_util_get_devices (CdUtilPrivate *priv, gchar **values, GError **error)
ret = FALSE;
goto out;
}
- for (i=0; i < array->len; i++) {
+ for (i = 0; i < array->len; i++) {
device = g_ptr_array_index (array, i);
ret = cd_device_connect_sync (device, NULL, error);
if (!ret)
@@ -676,7 +676,7 @@ cd_util_get_devices_by_kind (CdUtilPrivate *priv, gchar **values, GError **error
ret = FALSE;
goto out;
}
- for (i=0; i < array->len; i++) {
+ for (i = 0; i < array->len; i++) {
device = g_ptr_array_index (array, i);
ret = cd_device_connect_sync (device, NULL, error);
if (!ret)
@@ -708,7 +708,7 @@ cd_util_get_profiles (CdUtilPrivate *priv, gchar **values, GError **error)
ret = FALSE;
goto out;
}
- for (i=0; i < array->len; i++) {
+ for (i = 0; i < array->len; i++) {
profile = g_ptr_array_index (array, i);
ret = cd_profile_connect_sync (profile, NULL, error);
if (!ret)
@@ -747,7 +747,7 @@ cd_util_get_sensors (CdUtilPrivate *priv, gchar **values, GError **error)
_("There are no supported sensors attached"));
goto out;
}
- for (i=0; i < array->len; i++) {
+ for (i = 0; i < array->len; i++) {
sensor = g_ptr_array_index (array, i);
ret = cd_sensor_connect_sync (sensor, NULL, error);
if (!ret)
@@ -787,7 +787,7 @@ cd_util_sensor_lock (CdUtilPrivate *priv, gchar **values, GError **error)
_("There are no supported sensors attached"));
goto out;
}
- for (i=0; i < array->len; i++) {
+ for (i = 0; i < array->len; i++) {
sensor = g_ptr_array_index (array, i);
ret = cd_sensor_connect_sync (sensor, NULL, error);
@@ -964,7 +964,7 @@ cd_util_sensor_set_options (CdUtilPrivate *priv, gchar **values, GError **error)
options = g_hash_table_new (g_str_hash, g_str_equal);
g_hash_table_insert (options, values[0], g_variant_new_string (values[1]));
- for (i=0; i < array->len; i++) {
+ for (i = 0; i < array->len; i++) {
sensor = g_ptr_array_index (array, i);
ret = cd_sensor_connect_sync (sensor, NULL, error);