[gimp] libgimp*: tab cleaning.
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] libgimp*: tab cleaning.
- Date: Sat, 17 Jun 2017 09:39:34 +0000 (UTC)
commit 7999cfbeeff9c4a8d53504bb0ca3c6f4aab7f876
Author: Jehan <jehan girinstud io>
Date: Sat Jun 17 11:38:18 2017 +0200
libgimp*: tab cleaning.
libgimp/stdplugins-intl.h | 4 ++--
libgimpbase/gimpbase-private.c | 28 ++++++++++++++--------------
libgimpbase/gimpprotocol.c | 20 ++++++++++----------
libgimpbase/gimpvaluearray.c | 8 ++++----
libgimpconfig/gimpconfig-path.c | 2 +-
5 files changed, 31 insertions(+), 31 deletions(-)
---
diff --git a/libgimp/stdplugins-intl.h b/libgimp/stdplugins-intl.h
index e19606d..572bd83 100644
--- a/libgimp/stdplugins-intl.h
+++ b/libgimp/stdplugins-intl.h
@@ -31,11 +31,11 @@
# define bind_textdomain_codeset(Domain, Codeset) (Domain)
#endif
-#define INIT_I18N() G_STMT_START{ \
+#define INIT_I18N() G_STMT_START{ \
bindtextdomain (GETTEXT_PACKAGE"-std-plug-ins", \
gimp_locale_directory ()); \
bind_textdomain_codeset (GETTEXT_PACKAGE"-std-plug-ins", "UTF-8"); \
- textdomain (GETTEXT_PACKAGE"-std-plug-ins"); \
+ textdomain (GETTEXT_PACKAGE"-std-plug-ins"); \
}G_STMT_END
diff --git a/libgimpbase/gimpbase-private.c b/libgimpbase/gimpbase-private.c
index 31d881b..ec39ffe 100644
--- a/libgimpbase/gimpbase-private.c
+++ b/libgimpbase/gimpbase-private.c
@@ -48,33 +48,33 @@ gimp_base_init (GimpUnitVtable *vtable)
quark = g_quark_from_static_string ("gimp-compat-enum");
g_type_set_qdata (GIMP_TYPE_ADD_MASK_TYPE, quark,
- (gpointer) GIMP_TYPE_ADD_MASK_TYPE_COMPAT);
+ (gpointer) GIMP_TYPE_ADD_MASK_TYPE_COMPAT);
g_type_set_qdata (GIMP_TYPE_BLEND_MODE, quark,
- (gpointer) GIMP_TYPE_BLEND_MODE_COMPAT);
+ (gpointer) GIMP_TYPE_BLEND_MODE_COMPAT);
g_type_set_qdata (GIMP_TYPE_BUCKET_FILL_MODE, quark,
- (gpointer) GIMP_TYPE_BUCKET_FILL_MODE_COMPAT);
+ (gpointer) GIMP_TYPE_BUCKET_FILL_MODE_COMPAT);
g_type_set_qdata (GIMP_TYPE_CHANNEL_TYPE, quark,
- (gpointer) GIMP_TYPE_CHANNEL_TYPE_COMPAT);
+ (gpointer) GIMP_TYPE_CHANNEL_TYPE_COMPAT);
g_type_set_qdata (GIMP_TYPE_CLONE_TYPE, quark,
- (gpointer) GIMP_TYPE_CLONE_TYPE_COMPAT);
+ (gpointer) GIMP_TYPE_CLONE_TYPE_COMPAT);
g_type_set_qdata (GIMP_TYPE_CONVERT_PALETTE_TYPE, quark,
- (gpointer) GIMP_TYPE_CONVERT_PALETTE_TYPE_COMPAT);
+ (gpointer) GIMP_TYPE_CONVERT_PALETTE_TYPE_COMPAT);
g_type_set_qdata (GIMP_TYPE_CONVOLVE_TYPE, quark,
- (gpointer) GIMP_TYPE_CONVOLVE_TYPE_COMPAT);
+ (gpointer) GIMP_TYPE_CONVOLVE_TYPE_COMPAT);
g_type_set_qdata (GIMP_TYPE_DESATURATE_MODE, quark,
- (gpointer) GIMP_TYPE_DESATURATE_MODE_COMPAT);
+ (gpointer) GIMP_TYPE_DESATURATE_MODE_COMPAT);
g_type_set_qdata (GIMP_TYPE_DODGE_BURN_TYPE, quark,
- (gpointer) GIMP_TYPE_DODGE_BURN_TYPE_COMPAT);
+ (gpointer) GIMP_TYPE_DODGE_BURN_TYPE_COMPAT);
g_type_set_qdata (GIMP_TYPE_FILL_TYPE, quark,
- (gpointer) GIMP_TYPE_FILL_TYPE_COMPAT);
+ (gpointer) GIMP_TYPE_FILL_TYPE_COMPAT);
g_type_set_qdata (GIMP_TYPE_HUE_RANGE, quark,
- (gpointer) GIMP_TYPE_HUE_RANGE_COMPAT);
+ (gpointer) GIMP_TYPE_HUE_RANGE_COMPAT);
g_type_set_qdata (GIMP_TYPE_ICON_TYPE, quark,
- (gpointer) GIMP_TYPE_ICON_TYPE_COMPAT);
+ (gpointer) GIMP_TYPE_ICON_TYPE_COMPAT);
g_type_set_qdata (GIMP_TYPE_INTERPOLATION_TYPE, quark,
- (gpointer) GIMP_TYPE_INTERPOLATION_TYPE_COMPAT);
+ (gpointer) GIMP_TYPE_INTERPOLATION_TYPE_COMPAT);
g_type_set_qdata (GIMP_TYPE_TRANSFER_MODE, quark,
- (gpointer) GIMP_TYPE_TRANSFER_MODE_COMPAT);
+ (gpointer) GIMP_TYPE_TRANSFER_MODE_COMPAT);
gimp_base_initialized = TRUE;
}
diff --git a/libgimpbase/gimpprotocol.c b/libgimpbase/gimpprotocol.c
index 287134d..4058e46 100644
--- a/libgimpbase/gimpprotocol.c
+++ b/libgimpbase/gimpprotocol.c
@@ -1489,17 +1489,17 @@ _gp_params_read (GIOChannel *channel,
goto cleanup;
break;
- case GIMP_PDB_COLORARRAY:
- (*params)[i].data.d_colorarray = g_new (GimpRGB,
+ case GIMP_PDB_COLORARRAY:
+ (*params)[i].data.d_colorarray = g_new (GimpRGB,
(*params)[i-1].data.d_int32);
- if (! _gimp_wire_read_color (channel,
- (*params)[i].data.d_colorarray,
- (*params)[i-1].data.d_int32,
- user_data))
- {
- g_free ((*params)[i].data.d_colorarray);
- goto cleanup;
- }
+ if (! _gimp_wire_read_color (channel,
+ (*params)[i].data.d_colorarray,
+ (*params)[i-1].data.d_int32,
+ user_data))
+ {
+ g_free ((*params)[i].data.d_colorarray);
+ goto cleanup;
+ }
break;
case GIMP_PDB_VECTORS:
diff --git a/libgimpbase/gimpvaluearray.c b/libgimpbase/gimpvaluearray.c
index 4ccc46d..b9f0d80 100644
--- a/libgimpbase/gimpvaluearray.c
+++ b/libgimpbase/gimpvaluearray.c
@@ -90,8 +90,8 @@ gimp_value_array_index (const GimpValueArray *value_array,
static inline void
value_array_grow (GimpValueArray *value_array,
- gint n_values,
- gboolean zero_init)
+ gint n_values,
+ gboolean zero_init)
{
g_return_if_fail ((guint) n_values >= (guint) value_array->n_values);
@@ -104,10 +104,10 @@ value_array_grow (GimpValueArray *value_array,
value_array->values = g_renew (GValue, value_array->values, value_array->n_prealloced);
if (!zero_init)
- i = value_array->n_values;
+ i = value_array->n_values;
memset (value_array->values + i, 0,
- (value_array->n_prealloced - i) * sizeof (value_array->values[0]));
+ (value_array->n_prealloced - i) * sizeof (value_array->values[0]));
}
}
diff --git a/libgimpconfig/gimpconfig-path.c b/libgimpconfig/gimpconfig-path.c
index 4676656..040f8c4 100644
--- a/libgimpconfig/gimpconfig-path.c
+++ b/libgimpconfig/gimpconfig-path.c
@@ -563,7 +563,7 @@ gimp_config_path_expand_only (const gchar *path,
if (!s)
{
g_set_error (error, GIMP_CONFIG_ERROR, GIMP_CONFIG_ERROR_PARSE,
- _("Cannot expand ${%s}"), token);
+ _("Cannot expand ${%s}"), token);
g_free (token);
goto cleanup;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]