[gnome-color-manager] trivial: Fix whitespace
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] trivial: Fix whitespace
- Date: Mon, 26 Oct 2015 15:46:57 +0000 (UTC)
commit f486a96bdcbd3e31d66ec0b3db5a5ce6908f6e02
Author: Richard Hughes <richard hughsie com>
Date: Sun Oct 25 21:40:34 2015 +0000
trivial: Fix whitespace
src/gcm-calibrate-main.c | 10 +++++-----
src/gcm-cie-widget.c | 2 +-
src/gcm-gamma-widget.c | 2 +-
src/gcm-picker.c | 4 ++--
src/gcm-utils.c | 2 +-
src/gcm-viewer.c | 2 +-
6 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/src/gcm-calibrate-main.c b/src/gcm-calibrate-main.c
index 4e652f7..da79d45 100644
--- a/src/gcm-calibrate-main.c
+++ b/src/gcm-calibrate-main.c
@@ -218,7 +218,7 @@ gcm_calib_get_vbox_for_page (GcmCalibratePriv *priv,
GtkWidget *tmp;
GcmCalibratePage page_tmp;
- for (i = 0; i<priv->pages->len; i++) {
+ for (i = 0; i < priv->pages->len; i++) {
tmp = g_ptr_array_index (priv->pages, i);
page_tmp = GPOINTER_TO_UINT (g_object_get_data (G_OBJECT (tmp),
"GcmCalibrateMain::Index"));
@@ -1332,7 +1332,7 @@ gcm_calib_setup_page_target_kind (GcmCalibratePriv *priv)
gtk_box_pack_start (GTK_BOX (vbox), priv->reference_preview, FALSE, FALSE, 0);
combo = gtk_combo_box_text_new ();
- for (i = 0; i<GCM_CALIBRATE_REFERENCE_KIND_UNKNOWN; i++) {
+ for (i = 0; i < GCM_CALIBRATE_REFERENCE_KIND_UNKNOWN; i++) {
gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo),
gcm_calib_reference_kind_to_localised_string (i));
}
@@ -1721,7 +1721,7 @@ gcm_calib_setup_page_precision (GcmCalibratePriv *priv)
labels[2] = g_string_new (_("Quick"));
switch (priv->device_kind) {
case CD_DEVICE_KIND_PRINTER:
- for (i = 0; i<3; i++) {
+ for (i = 0; i < 3; i++) {
g_string_append (labels[i], " ");
/* TRANSLATORS: radio options for calibration precision */
g_string_append_printf (labels[i], ngettext (
@@ -1732,7 +1732,7 @@ gcm_calib_setup_page_precision (GcmCalibratePriv *priv)
}
break;
case CD_DEVICE_KIND_DISPLAY:
- for (i = 0; i<3; i++) {
+ for (i = 0; i < 3; i++) {
g_string_append (labels[i], " ");
/* TRANSLATORS: radio options for calibration precision */
g_string_append_printf (labels[i], ngettext (
@@ -1784,7 +1784,7 @@ gcm_calib_setup_page_precision (GcmCalibratePriv *priv)
"GcmCalibrateMain::Index",
GUINT_TO_POINTER (GCM_CALIBRATE_PAGE_PRECISION));
- for (i = 0; i<3; i++)
+ for (i = 0; i < 3; i++)
g_string_free (labels[i], TRUE);
/* show page */
diff --git a/src/gcm-cie-widget.c b/src/gcm-cie-widget.c
index d8ac5d4..6de337b 100644
--- a/src/gcm-cie-widget.c
+++ b/src/gcm-cie-widget.c
@@ -771,7 +771,7 @@ gcm_cie_widget_get_min_max_tongue (GcmCieWidget *cie)
/* add enough elements to the array */
g_ptr_array_set_size (priv->tongue_buffer, 0);
- for (i = 0; i<priv->chart_height; i++) {
+ for (i = 0; i < priv->chart_height; i++) {
item = g_new0 (GcmCieWidgetBufferItem, 1);
g_ptr_array_add (priv->tongue_buffer, item);
}
diff --git a/src/gcm-gamma-widget.c b/src/gcm-gamma-widget.c
index 458a142..e8054ec 100644
--- a/src/gcm-gamma-widget.c
+++ b/src/gcm-gamma-widget.c
@@ -210,7 +210,7 @@ gcm_gamma_widget_draw_lines (GcmGammaWidget *gama, cairo_t *cr)
cairo_set_line_width (cr, 1);
/* do horizontal lines */
- for (i = 0; i<gama->priv->chart_height; i++) {
+ for (i = 0; i < gama->priv->chart_height; i++) {
/* set correct color */
if (i%2 == 0) {
diff --git a/src/gcm-picker.c b/src/gcm-picker.c
index 1f03962..fe9fc84 100644
--- a/src/gcm-picker.c
+++ b/src/gcm-picker.c
@@ -539,7 +539,7 @@ gcm_prefs_setup_space_combobox (GcmPickerPrivate *priv, GtkWidget *widget)
}
/* update each list */
- for (i = 0; i<profile_array->len; i++) {
+ for (i = 0; i < profile_array->len; i++) {
profile = g_ptr_array_index (profile_array, i);
/* connect to the profile */
@@ -581,7 +581,7 @@ gcm_prefs_setup_space_combobox (GcmPickerPrivate *priv, GtkWidget *widget)
CD_DEVICE_KIND_DISPLAY,
NULL,
&error);
- for (i = 0; i<devices->len; i++) {
+ for (i = 0; i < devices->len; i++) {
device_tmp = g_ptr_array_index (devices, i);
/* connect to the device */
diff --git a/src/gcm-utils.c b/src/gcm-utils.c
index 97c1eae..d6b3db3 100644
--- a/src/gcm-utils.c
+++ b/src/gcm-utils.c
@@ -217,7 +217,7 @@ gcm_utils_ptr_array_to_strv (GPtrArray *array)
/* copy the array to a strv */
value = g_new0 (gchar *, array->len + 1);
- for (i = 0; i<array->len; i++) {
+ for (i = 0; i < array->len; i++) {
value_temp = (const gchar *) g_ptr_array_index (array, i);
value[i] = g_strdup (value_temp);
}
diff --git a/src/gcm-viewer.c b/src/gcm-viewer.c
index 4dd6079..49602cf 100644
--- a/src/gcm-viewer.c
+++ b/src/gcm-viewer.c
@@ -308,7 +308,7 @@ gcm_viewer_update_get_profiles_cb (GObject *source_object,
viewer->clearing_store = FALSE;
/* update each list */
- for (i = 0; i<profile_array->len; i++) {
+ for (i = 0; i < profile_array->len; i++) {
profile = g_ptr_array_index (profile_array, i);
cd_profile_connect (profile,
NULL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]