[gimp] app: clean out tab indentations.
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: clean out tab indentations.
- Date: Wed, 21 Dec 2016 03:21:10 +0000 (UTC)
commit 3fa016fb4baa6621c599cbf9ed3af57e700d4380
Author: Jehan <jehan girinstud io>
Date: Wed Dec 21 04:05:32 2016 +0100
app: clean out tab indentations.
app/actions/debug-commands.c | 2 +-
app/actions/select-actions.c | 2 +-
app/actions/select-commands.c | 32 +++++++-------
app/actions/text-tool-commands.c | 8 ++--
app/app.c | 6 +-
app/dialogs/user-install-dialog.c | 22 +++++-----
app/display/gimpdisplayshell-close.c | 2 +-
app/display/gimpdisplayxfer.c | 50 +++++++++++-----------
app/file/file-open.c | 2 +-
app/file/file-utils.c | 12 +++---
app/gui/gimpdbusservice.c | 12 +++---
app/gui/splash.c | 4 +-
app/operations/gimpcurvesconfig.c | 6 +-
app/operations/gimplevelsconfig.c | 4 +-
app/operations/gimpoperationblend.c | 2 +-
app/pdb/gimppdb-utils.c | 18 ++++----
app/pdb/gradient-cmds.c | 6 +-
app/pdb/plug-in-compat-cmds.c | 2 +-
app/plug-in/gimpenvirontable.c | 46 ++++++++++----------
app/plug-in/gimpinterpreterdb.c | 56 ++++++++++++------------
app/plug-in/gimppluginmanager-file-procedure.c | 4 +-
app/tools/gimpbucketfilltool.c | 4 +-
app/tools/gimpcolorbalancetool.c | 2 +-
app/tools/gimpfiltertool.c | 4 +-
app/tools/gimphuesaturationtool.c | 2 +-
app/tools/gimpmovetool.c | 2 +-
app/unique.h | 2 +-
app/widgets/gimpcontainercombobox.c | 6 +-
app/widgets/gimpcontrollerlist.c | 10 ++--
app/widgets/gimpoverlaydialog.c | 4 +-
app/widgets/gimpprefsbox.c | 8 ++--
app/widgets/gimptextproxy.c | 54 +++++++++++-----------
app/widgets/gimpviewrendererimagefile.c | 2 +-
app/widgets/gimpwindow.c | 4 +-
app/xcf/xcf-load.c | 2 +-
35 files changed, 202 insertions(+), 202 deletions(-)
---
diff --git a/app/actions/debug-commands.c b/app/actions/debug-commands.c
index e6cd71f..6e1a28a 100644
--- a/app/actions/debug-commands.c
+++ b/app/actions/debug-commands.c
@@ -166,7 +166,7 @@ debug_dump_managers_cmd_callback (GtkAction *action,
if (managers)
{
g_print ("\n\n"
- "========================================\n"
+ "========================================\n"
"UI Manager: %s\n"
"========================================\n\n",
entry->identifier);
diff --git a/app/actions/select-actions.c b/app/actions/select-actions.c
index c09290e..9ab868b 100644
--- a/app/actions/select-actions.c
+++ b/app/actions/select-actions.c
@@ -144,7 +144,7 @@ select_actions_setup (GimpActionGroup *group)
{
gimp_action_group_add_actions (group, "select-action",
select_actions,
- G_N_ELEMENTS (select_actions));
+ G_N_ELEMENTS (select_actions));
}
void
diff --git a/app/actions/select-commands.c b/app/actions/select-commands.c
index b24de84..1fea78d 100644
--- a/app/actions/select-commands.c
+++ b/app/actions/select-commands.c
@@ -475,8 +475,8 @@ select_feather_callback (GtkWidget *widget,
gdouble radius_y;
g_object_set (config,
- "selection-feather-radius", size,
- NULL);
+ "selection-feather-radius", size,
+ NULL);
radius_x = config->selection_feather_radius;
radius_y = config->selection_feather_radius;
@@ -522,11 +522,11 @@ select_border_callback (GtkWidget *widget,
gimp_int_combo_box_get_active (GIMP_INT_COMBO_BOX (combo), &border_style);
g_object_set (config,
- "selection-border-radius", size,
- "selection-border-style", border_style,
- "selection-border-edge-lock",
- gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button)),
- NULL);
+ "selection-border-radius", size,
+ "selection-border-style", border_style,
+ "selection-border-edge-lock",
+ gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button)),
+ NULL);
radius_x = ROUND (config->selection_border_radius);
radius_y = ROUND (config->selection_border_radius);
@@ -550,8 +550,8 @@ select_border_callback (GtkWidget *widget,
gimp_channel_border (gimp_image_get_mask (image), radius_x, radius_y,
config->selection_border_style,
- config->selection_border_edge_lock,
- TRUE);
+ config->selection_border_edge_lock,
+ TRUE);
gimp_image_flush (image);
}
@@ -567,8 +567,8 @@ select_grow_callback (GtkWidget *widget,
gdouble radius_y;
g_object_set (config,
- "selection-grow-radius", size,
- NULL);
+ "selection-grow-radius", size,
+ NULL);
radius_x = ROUND (config->selection_grow_radius);
radius_y = ROUND (config->selection_grow_radius);
@@ -609,10 +609,10 @@ select_shrink_callback (GtkWidget *widget,
button = g_object_get_data (G_OBJECT (widget), "edge-lock-toggle");
g_object_set (config,
- "selection-shrink-radius", size,
- "selection-shrink-edge-lock",
- gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button)),
- NULL);
+ "selection-shrink-radius", size,
+ "selection-shrink-edge-lock",
+ gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button)),
+ NULL);
radius_x = ROUND (config->selection_shrink_radius);
radius_y = ROUND (config->selection_shrink_radius);
@@ -636,6 +636,6 @@ select_shrink_callback (GtkWidget *widget,
gimp_channel_shrink (gimp_image_get_mask (image), radius_x, radius_y,
config->selection_shrink_edge_lock,
- TRUE);
+ TRUE);
gimp_image_flush (image);
}
diff --git a/app/actions/text-tool-commands.c b/app/actions/text-tool-commands.c
index 65956d8..666b553 100644
--- a/app/actions/text-tool-commands.c
+++ b/app/actions/text-tool-commands.c
@@ -185,8 +185,8 @@ text_tool_direction_cmd_callback (GtkAction *action,
value = gtk_radio_action_get_current_value (GTK_RADIO_ACTION (action));
g_object_set (text_tool->proxy,
- "base-direction", (GimpTextDirection) value,
- NULL);
+ "base-direction", (GimpTextDirection) value,
+ NULL);
}
@@ -194,8 +194,8 @@ text_tool_direction_cmd_callback (GtkAction *action,
static void
text_tool_load_dialog_response (GtkWidget *dialog,
- gint response_id,
- GimpTextTool *tool)
+ gint response_id,
+ GimpTextTool *tool)
{
if (response_id == GTK_RESPONSE_OK)
{
diff --git a/app/app.c b/app/app.c
index cec51e0..74b6d17 100644
--- a/app/app.c
+++ b/app/app.c
@@ -223,9 +223,9 @@ app_run (const gchar *full_prog_name,
gimp_user_install_run (install);
#else
if (! (no_interface ?
- gimp_user_install_run (install) :
- user_install_dialog_run (install)))
- exit (EXIT_FAILURE);
+ gimp_user_install_run (install) :
+ user_install_dialog_run (install)))
+ exit (EXIT_FAILURE);
#endif
gimp_user_install_free (install);
diff --git a/app/dialogs/user-install-dialog.c b/app/dialogs/user-install-dialog.c
index dbd1e34..43caef8 100644
--- a/app/dialogs/user-install-dialog.c
+++ b/app/dialogs/user-install-dialog.c
@@ -39,8 +39,8 @@
static GtkWidget * user_install_dialog_new (GimpUserInstall *install);
static void user_install_dialog_log (const gchar *message,
- gboolean error,
- gpointer data);
+ gboolean error,
+ gpointer data);
gboolean
@@ -58,8 +58,8 @@ user_install_dialog_run (GimpUserInstall *install)
if (! success)
{
g_signal_connect (dialog, "response",
- G_CALLBACK (gtk_main_quit),
- NULL);
+ G_CALLBACK (gtk_main_quit),
+ NULL);
gtk_widget_show (dialog);
@@ -83,18 +83,18 @@ user_install_dialog_new (GimpUserInstall *install)
gimp_icons_init ();
dialog = gimp_message_dialog_new (_("GIMP User Installation"),
- GIMP_STOCK_WILBER_EEK,
- NULL, 0, NULL, NULL,
+ GIMP_STOCK_WILBER_EEK,
+ NULL, 0, NULL, NULL,
- GTK_STOCK_QUIT, GTK_RESPONSE_OK,
+ GTK_STOCK_QUIT, GTK_RESPONSE_OK,
- NULL);
+ NULL);
gimp_message_box_set_primary_text (GIMP_MESSAGE_DIALOG (dialog)->box,
- _("User installation failed!"));
+ _("User installation failed!"));
gimp_message_box_set_text (GIMP_MESSAGE_DIALOG (dialog)->box,
- _("The GIMP user installation failed; "
- "see the log for details."));
+ _("The GIMP user installation failed; "
+ "see the log for details."));
frame = gimp_frame_new (_("Installation Log"));
gtk_container_set_border_width (GTK_CONTAINER (frame), 12);
diff --git a/app/display/gimpdisplayshell-close.c b/app/display/gimpdisplayshell-close.c
index 9dfad40..c75ec1e 100644
--- a/app/display/gimpdisplayshell-close.c
+++ b/app/display/gimpdisplayshell-close.c
@@ -266,7 +266,7 @@ gimp_display_shell_close_name_changed (GimpImage *image,
if (GTK_IS_WINDOW (window))
{
gchar *title = g_strdup_printf (_("Close %s"),
- gimp_image_get_display_name (image));
+ gimp_image_get_display_name (image));
gtk_window_set_title (GTK_WINDOW (window), title);
g_free (title);
diff --git a/app/display/gimpdisplayxfer.c b/app/display/gimpdisplayxfer.c
index f9665b4..09713c9 100644
--- a/app/display/gimpdisplayxfer.c
+++ b/app/display/gimpdisplayxfer.c
@@ -62,7 +62,7 @@ gint GIMP_DISPLAY_RENDER_BUF_HEIGHT = 256;
static RTreeNode *
rtree_node_create (RTree *rtree,
RTreeNode **prev,
- gint x,
+ gint x,
gint y,
gint w,
gint h)
@@ -98,7 +98,7 @@ rtree_node_destroy (RTree *rtree,
for (i = 0; i < 2; i++)
{
if (node->children[i])
- rtree_node_destroy (rtree, node->children[i]);
+ rtree_node_destroy (rtree, node->children[i]);
}
g_slice_free (RTreeNode, node);
@@ -107,7 +107,7 @@ rtree_node_destroy (RTree *rtree,
static RTreeNode *
rtree_node_insert (RTree *rtree,
RTreeNode **prev,
- RTreeNode *node,
+ RTreeNode *node,
gint w,
gint h)
{
@@ -119,23 +119,23 @@ rtree_node_insert (RTree *rtree,
gint hh = node->h - h;
if (ww >= hh)
- {
- node->children[0] = rtree_node_create (rtree, prev,
- node->x + w, node->y,
- ww, node->h);
- node->children[1] = rtree_node_create (rtree, prev,
- node->x, node->y + h,
- w, hh);
- }
+ {
+ node->children[0] = rtree_node_create (rtree, prev,
+ node->x + w, node->y,
+ ww, node->h);
+ node->children[1] = rtree_node_create (rtree, prev,
+ node->x, node->y + h,
+ w, hh);
+ }
else
- {
- node->children[0] = rtree_node_create (rtree, prev,
- node->x, node->y + h,
- node->w, hh);
- node->children[1] = rtree_node_create (rtree, prev,
- node->x + w, node->y,
- ww, h);
- }
+ {
+ node->children[0] = rtree_node_create (rtree, prev,
+ node->x, node->y + h,
+ node->w, hh);
+ node->children[1] = rtree_node_create (rtree, prev,
+ node->x + w, node->y,
+ ww, h);
+ }
}
return node;
@@ -182,7 +182,7 @@ rtree_reset (RTree *rtree)
for (i = 0; i < 2; i++)
{
if (rtree->root.children[i] == NULL)
- continue;
+ continue;
rtree_node_destroy (rtree, rtree->root.children[i]);
rtree->root.children[i] = NULL;
@@ -255,8 +255,8 @@ gimp_display_xfer_realize (GtkWidget *widget)
xfer->page = 0;
g_object_set_data_full (G_OBJECT (screen),
- "gimp-display-xfer",
- xfer, xfer_destroy);
+ "gimp-display-xfer",
+ xfer, xfer_destroy);
}
return xfer;
@@ -264,15 +264,15 @@ gimp_display_xfer_realize (GtkWidget *widget)
cairo_surface_t *
gimp_display_xfer_get_surface (GimpDisplayXfer *xfer,
- gint w,
+ gint w,
gint h,
- gint *src_x,
+ gint *src_x,
gint *src_y)
{
RTreeNode *node;
g_assert (w <= GIMP_DISPLAY_RENDER_BUF_WIDTH * GIMP_DISPLAY_RENDER_MAX_SCALE &&
- h <= GIMP_DISPLAY_RENDER_BUF_HEIGHT * GIMP_DISPLAY_RENDER_MAX_SCALE);
+ h <= GIMP_DISPLAY_RENDER_BUF_HEIGHT * GIMP_DISPLAY_RENDER_MAX_SCALE);
node = rtree_insert (&xfer->rtree, w, h);
if (node == NULL)
diff --git a/app/file/file-open.c b/app/file/file-open.c
index cae912c..8fccdd6 100644
--- a/app/file/file-open.c
+++ b/app/file/file-open.c
@@ -664,7 +664,7 @@ file_open_layers (Gimp *gimp,
else
{
g_set_error_literal (error, G_FILE_ERROR, G_FILE_ERROR_FAILED,
- _("Image doesn't contain any layers"));
+ _("Image doesn't contain any layers"));
*status = GIMP_PDB_EXECUTION_ERROR;
}
diff --git a/app/file/file-utils.c b/app/file/file-utils.c
index bb907b2..9853fc6 100644
--- a/app/file/file-utils.c
+++ b/app/file/file-utils.c
@@ -76,9 +76,9 @@ file_utils_filename_is_uri (const gchar *filename,
if (! g_utf8_validate (filename, -1, NULL))
{
g_set_error_literal (error,
- G_CONVERT_ERROR,
- G_CONVERT_ERROR_ILLEGAL_SEQUENCE,
- _("Invalid character sequence in URI"));
+ G_CONVERT_ERROR,
+ G_CONVERT_ERROR_ILLEGAL_SEQUENCE,
+ _("Invalid character sequence in URI"));
return FALSE;
}
@@ -115,9 +115,9 @@ file_utils_filename_to_file (Gimp *gimp,
else
{
g_set_error_literal (error,
- G_CONVERT_ERROR,
- G_CONVERT_ERROR_ILLEGAL_SEQUENCE,
- _("Invalid character sequence in URI"));
+ G_CONVERT_ERROR,
+ G_CONVERT_ERROR_ILLEGAL_SEQUENCE,
+ _("Invalid character sequence in URI"));
return NULL;
}
}
diff --git a/app/gui/gimpdbusservice.c b/app/gui/gimpdbusservice.c
index d89c589..b76dfc7 100644
--- a/app/gui/gimpdbusservice.c
+++ b/app/gui/gimpdbusservice.c
@@ -68,8 +68,8 @@ static gboolean gimp_dbus_service_batch_run (GimpDBusServiceUI *servi
const gchar *batch_command);
static void gimp_dbus_service_gimp_opened (Gimp *gimp,
- GFile *file,
- GimpDBusService *service);
+ GFile *file,
+ GimpDBusService *service);
static gboolean gimp_dbus_service_queue_open (GimpDBusService *service,
const gchar *uri,
@@ -132,8 +132,8 @@ gimp_dbus_service_new (Gimp *gimp)
service->gimp = gimp;
g_signal_connect_object (gimp, "image-opened",
- G_CALLBACK (gimp_dbus_service_gimp_opened),
- service, 0);
+ G_CALLBACK (gimp_dbus_service_gimp_opened),
+ service, 0);
return G_OBJECT (service);
}
@@ -244,8 +244,8 @@ gimp_dbus_service_batch_run (GimpDBusServiceUI *service,
static void
gimp_dbus_service_gimp_opened (Gimp *gimp,
- GFile *file,
- GimpDBusService *service)
+ GFile *file,
+ GimpDBusService *service)
{
gchar *uri = g_file_get_uri (file);
diff --git a/app/gui/splash.c b/app/gui/splash.c
index 37a76b5..ba282a5 100644
--- a/app/gui/splash.c
+++ b/app/gui/splash.c
@@ -158,8 +158,8 @@ splash_create (gboolean be_verbose,
g_object_unref (pixbuf);
g_signal_connect_after (splash->area, "expose-event",
- G_CALLBACK (splash_area_expose),
- splash);
+ G_CALLBACK (splash_area_expose),
+ splash);
/* add a progress bar */
splash->progress = gtk_progress_bar_new ();
diff --git a/app/operations/gimpcurvesconfig.c b/app/operations/gimpcurvesconfig.c
index 3c44f73..89596bd 100644
--- a/app/operations/gimpcurvesconfig.c
+++ b/app/operations/gimpcurvesconfig.c
@@ -523,7 +523,7 @@ gimp_curves_config_load_cruft (GimpCurvesConfig *config,
if (strcmp (line, "# GIMP Curves File") != 0)
{
g_set_error_literal (error, GIMP_CONFIG_ERROR, GIMP_CONFIG_ERROR_PARSE,
- _("not a GIMP Curves file"));
+ _("not a GIMP Curves file"));
g_object_unref (data_input);
g_free (line);
return FALSE;
@@ -553,8 +553,8 @@ gimp_curves_config_load_cruft (GimpCurvesConfig *config,
sscanf (y_str, "%d", &value[i][j]) != 1)
{
g_set_error_literal (error,
- GIMP_CONFIG_ERROR, GIMP_CONFIG_ERROR_PARSE,
- _("Parse error, didn't find 2 integers"));
+ GIMP_CONFIG_ERROR, GIMP_CONFIG_ERROR_PARSE,
+ _("Parse error, didn't find 2 integers"));
g_free (x_str);
g_free (y_str);
g_object_unref (data_input);
diff --git a/app/operations/gimplevelsconfig.c b/app/operations/gimplevelsconfig.c
index aa2e59f..b6c9339 100644
--- a/app/operations/gimplevelsconfig.c
+++ b/app/operations/gimplevelsconfig.c
@@ -775,7 +775,7 @@ gimp_levels_config_load_cruft (GimpLevelsConfig *config,
if (strcmp (line, "# GIMP Levels File") != 0)
{
g_set_error_literal (error, GIMP_CONFIG_ERROR, GIMP_CONFIG_ERROR_PARSE,
- _("not a GIMP Levels file"));
+ _("not a GIMP Levels file"));
g_object_unref (data_input);
g_free (line);
return FALSE;
@@ -843,7 +843,7 @@ gimp_levels_config_load_cruft (GimpLevelsConfig *config,
g_object_unref (data_input);
g_set_error_literal (error, GIMP_CONFIG_ERROR, GIMP_CONFIG_ERROR_PARSE,
- _("parse error"));
+ _("parse error"));
return FALSE;
}
diff --git a/app/operations/gimpoperationblend.c b/app/operations/gimpoperationblend.c
index 4dc0eb0..a294d32 100644
--- a/app/operations/gimpoperationblend.c
+++ b/app/operations/gimpoperationblend.c
@@ -264,7 +264,7 @@ gimp_operation_blend_class_init (GimpOperationBlendClass *klass)
g_param_spec_double ("offset",
"Offset",
"Offset relates to the starting and ending
coordinates "
- "specified for the blend. This parameter is mode
dependent.",
+ "specified for the blend. This parameter is mode
dependent.",
0, G_MAXDOUBLE, 0,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT));
diff --git a/app/pdb/gimppdb-utils.c b/app/pdb/gimppdb-utils.c
index a52766b..59083ea 100644
--- a/app/pdb/gimppdb-utils.c
+++ b/app/pdb/gimppdb-utils.c
@@ -73,7 +73,7 @@ gimp_pdb_get_brush (Gimp *gimp,
if (! name || ! strlen (name))
{
g_set_error_literal (error, GIMP_PDB_ERROR, GIMP_PDB_ERROR_INVALID_ARGUMENT,
- _("Invalid empty brush name"));
+ _("Invalid empty brush name"));
return NULL;
}
@@ -134,7 +134,7 @@ gimp_pdb_get_dynamics (Gimp *gimp,
if (! name || ! strlen (name))
{
g_set_error_literal (error, GIMP_PDB_ERROR, GIMP_PDB_ERROR_INVALID_ARGUMENT,
- _("Invalid empty paint dynamics name"));
+ _("Invalid empty paint dynamics name"));
return NULL;
}
@@ -169,7 +169,7 @@ gimp_pdb_get_mybrush (Gimp *gimp,
if (! name || ! strlen (name))
{
g_set_error_literal (error, GIMP_PDB_ERROR, GIMP_PDB_ERROR_INVALID_ARGUMENT,
- _("Invalid empty MyPaint brush name"));
+ _("Invalid empty MyPaint brush name"));
return NULL;
}
@@ -203,7 +203,7 @@ gimp_pdb_get_pattern (Gimp *gimp,
if (! name || ! strlen (name))
{
g_set_error_literal (error, GIMP_PDB_ERROR, GIMP_PDB_ERROR_INVALID_ARGUMENT,
- _("Invalid empty pattern name"));
+ _("Invalid empty pattern name"));
return NULL;
}
@@ -232,7 +232,7 @@ gimp_pdb_get_gradient (Gimp *gimp,
if (! name || ! strlen (name))
{
g_set_error_literal (error, GIMP_PDB_ERROR, GIMP_PDB_ERROR_INVALID_ARGUMENT,
- _("Invalid empty gradient name"));
+ _("Invalid empty gradient name"));
return NULL;
}
@@ -267,7 +267,7 @@ gimp_pdb_get_palette (Gimp *gimp,
if (! name || ! strlen (name))
{
g_set_error_literal (error, GIMP_PDB_ERROR, GIMP_PDB_ERROR_INVALID_ARGUMENT,
- _("Invalid empty palette name"));
+ _("Invalid empty palette name"));
return NULL;
}
@@ -301,7 +301,7 @@ gimp_pdb_get_font (Gimp *gimp,
if (! name || ! strlen (name))
{
g_set_error_literal (error, GIMP_PDB_ERROR, GIMP_PDB_ERROR_INVALID_ARGUMENT,
- _("Invalid empty font name"));
+ _("Invalid empty font name"));
return NULL;
}
@@ -330,7 +330,7 @@ gimp_pdb_get_buffer (Gimp *gimp,
if (! name || ! strlen (name))
{
g_set_error_literal (error, GIMP_PDB_ERROR, GIMP_PDB_ERROR_INVALID_ARGUMENT,
- _("Invalid empty buffer name"));
+ _("Invalid empty buffer name"));
return NULL;
}
@@ -359,7 +359,7 @@ gimp_pdb_get_paint_info (Gimp *gimp,
if (! name || ! strlen (name))
{
g_set_error_literal (error, GIMP_PDB_ERROR, GIMP_PDB_ERROR_INVALID_ARGUMENT,
- _("Invalid empty paint method name"));
+ _("Invalid empty paint method name"));
return NULL;
}
diff --git a/app/pdb/gradient-cmds.c b/app/pdb/gradient-cmds.c
index 615b19f..0db5999 100644
--- a/app/pdb/gradient-cmds.c
+++ b/app/pdb/gradient-cmds.c
@@ -47,10 +47,10 @@
static GimpGradient *
gradient_get (Gimp *gimp,
const gchar *name,
- gboolean writable,
+ gboolean writable,
gint segment,
GimpGradientSegment **seg,
- GError **error)
+ GError **error)
{
GimpGradient *gradient = gimp_pdb_get_gradient (gimp, name, writable, error);
@@ -69,7 +69,7 @@ gradient_get_range (Gimp *gimp,
gint end_segment,
GimpGradientSegment **start_seg,
GimpGradientSegment **end_seg,
- GError **error)
+ GError **error)
{
GimpGradient *gradient = gimp_pdb_get_gradient (gimp, name, TRUE, error);
diff --git a/app/pdb/plug-in-compat-cmds.c b/app/pdb/plug-in-compat-cmds.c
index e86deb5..ca4f277 100644
--- a/app/pdb/plug-in-compat-cmds.c
+++ b/app/pdb/plug-in-compat-cmds.c
@@ -338,7 +338,7 @@ gaussian_blur (GimpDrawable *drawable,
"operation", "gegl:gaussian-blur",
"std-dev-x", horizontal * 0.32,
"std-dev-y", vertical * 0.32,
- "abyss-policy", 1,
+ "abyss-policy", 1,
NULL);
node = wrap_in_gamma_cast (node, drawable);
diff --git a/app/plug-in/gimpenvirontable.c b/app/plug-in/gimpenvirontable.c
index 4a37503..979efc7 100644
--- a/app/plug-in/gimpenvirontable.c
+++ b/app/plug-in/gimpenvirontable.c
@@ -156,35 +156,35 @@ gimp_environ_table_load (GimpEnvironTable *environ_table,
GFileEnumerator *enumerator;
enumerator =
- g_file_enumerate_children (dir,
+ g_file_enumerate_children (dir,
G_FILE_ATTRIBUTE_STANDARD_NAME ","
- G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN ","
- G_FILE_ATTRIBUTE_STANDARD_TYPE,
- G_FILE_QUERY_INFO_NONE,
- NULL, NULL);
+ G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN ","
+ G_FILE_ATTRIBUTE_STANDARD_TYPE,
+ G_FILE_QUERY_INFO_NONE,
+ NULL, NULL);
if (enumerator)
- {
- GFileInfo *info;
+ {
+ GFileInfo *info;
- while ((info = g_file_enumerator_next_file (enumerator,
- NULL, NULL)))
- {
- if (! g_file_info_get_is_hidden (info) &&
- g_file_info_get_file_type (info) == G_FILE_TYPE_REGULAR)
- {
- GFile *file = g_file_enumerator_get_child (enumerator, info);
+ while ((info = g_file_enumerator_next_file (enumerator,
+ NULL, NULL)))
+ {
+ if (! g_file_info_get_is_hidden (info) &&
+ g_file_info_get_file_type (info) == G_FILE_TYPE_REGULAR)
+ {
+ GFile *file = g_file_enumerator_get_child (enumerator, info);
- gimp_environ_table_load_env_file (environ_table, file);
+ gimp_environ_table_load_env_file (environ_table, file);
- g_object_unref (file);
- }
+ g_object_unref (file);
+ }
- g_object_unref (info);
- }
+ g_object_unref (info);
+ }
- g_object_unref (enumerator);
- }
+ g_object_unref (enumerator);
+ }
}
}
@@ -272,7 +272,7 @@ gimp_environ_table_get_envp (GimpEnvironTable *environ_table)
static void
gimp_environ_table_load_env_file (GimpEnvironTable *environ_table,
- GFile *file)
+ GFile *file)
{
GInputStream *input;
GDataInputStream *data_input;
@@ -408,7 +408,7 @@ gimp_environ_table_populate (GimpEnvironTable *environ_table)
*/
if (gimp_environ_table_pass_through (environ_table, *var))
- g_ptr_array_add (env_array, g_strconcat (*var, "=", g_getenv (*var), NULL));
+ g_ptr_array_add (env_array, g_strconcat (*var, "=", g_getenv (*var), NULL));
var++;
}
diff --git a/app/plug-in/gimpinterpreterdb.c b/app/plug-in/gimpinterpreterdb.c
index 6c74e0b..1d92247 100644
--- a/app/plug-in/gimpinterpreterdb.c
+++ b/app/plug-in/gimpinterpreterdb.c
@@ -148,35 +148,35 @@ gimp_interpreter_db_load (GimpInterpreterDB *db,
GFileEnumerator *enumerator;
enumerator =
- g_file_enumerate_children (dir,
+ g_file_enumerate_children (dir,
G_FILE_ATTRIBUTE_STANDARD_NAME ","
- G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN ","
- G_FILE_ATTRIBUTE_STANDARD_TYPE,
- G_FILE_QUERY_INFO_NONE,
- NULL, NULL);
+ G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN ","
+ G_FILE_ATTRIBUTE_STANDARD_TYPE,
+ G_FILE_QUERY_INFO_NONE,
+ NULL, NULL);
if (enumerator)
- {
- GFileInfo *info;
+ {
+ GFileInfo *info;
- while ((info = g_file_enumerator_next_file (enumerator,
- NULL, NULL)))
- {
- if (! g_file_info_get_is_hidden (info) &&
- g_file_info_get_file_type (info) == G_FILE_TYPE_REGULAR)
- {
- GFile *file = g_file_enumerator_get_child (enumerator, info);
+ while ((info = g_file_enumerator_next_file (enumerator,
+ NULL, NULL)))
+ {
+ if (! g_file_info_get_is_hidden (info) &&
+ g_file_info_get_file_type (info) == G_FILE_TYPE_REGULAR)
+ {
+ GFile *file = g_file_enumerator_get_child (enumerator, info);
- gimp_interpreter_db_load_interp_file (db, file);
+ gimp_interpreter_db_load_interp_file (db, file);
- g_object_unref (file);
- }
+ g_object_unref (file);
+ }
- g_object_unref (info);
- }
+ g_object_unref (info);
+ }
- g_object_unref (enumerator);
- }
+ g_object_unref (enumerator);
+ }
}
gimp_interpreter_db_resolve_programs (db);
@@ -216,7 +216,7 @@ gimp_interpreter_db_clear (GimpInterpreterDB *db)
static void
gimp_interpreter_db_load_interp_file (GimpInterpreterDB *db,
- GFile *file)
+ GFile *file)
{
GInputStream *input;
GDataInputStream *data_input;
@@ -251,13 +251,13 @@ gimp_interpreter_db_load_interp_file (GimpInterpreterDB *db,
}
if (g_ascii_isalnum (buffer[0]) || (buffer[0] == '/'))
- {
- gimp_interpreter_db_add_program (db, file, buffer);
- }
+ {
+ gimp_interpreter_db_add_program (db, file, buffer);
+ }
else if (! g_ascii_isspace (buffer[0]) && (buffer[0] != '\0'))
- {
- gimp_interpreter_db_add_binfmt_misc (db, file, buffer);
- }
+ {
+ gimp_interpreter_db_add_binfmt_misc (db, file, buffer);
+ }
g_free (buffer);
}
diff --git a/app/plug-in/gimppluginmanager-file-procedure.c b/app/plug-in/gimppluginmanager-file-procedure.c
index 581b89e..8a9ca40 100644
--- a/app/plug-in/gimppluginmanager-file-procedure.c
+++ b/app/plug-in/gimppluginmanager-file-procedure.c
@@ -199,8 +199,8 @@ file_procedure_find (GSList *procs,
{
/* set an error message unless one was already set */
if (error && *error == NULL)
- g_set_error_literal (error, G_FILE_ERROR, G_FILE_ERROR_FAILED,
- _("Unknown file type"));
+ g_set_error_literal (error, G_FILE_ERROR, G_FILE_ERROR_FAILED,
+ _("Unknown file type"));
}
return file_proc;
diff --git a/app/tools/gimpbucketfilltool.c b/app/tools/gimpbucketfilltool.c
index aa5d163..7755777 100644
--- a/app/tools/gimpbucketfilltool.c
+++ b/app/tools/gimpbucketfilltool.c
@@ -134,14 +134,14 @@ gimp_bucket_fill_tool_initialize (GimpTool *tool,
if (gimp_viewable_get_children (GIMP_VIEWABLE (drawable)))
{
g_set_error_literal (error, GIMP_ERROR, GIMP_FAILED,
- _("Cannot modify the pixels of layer groups."));
+ _("Cannot modify the pixels of layer groups."));
return FALSE;
}
if (gimp_item_is_content_locked (GIMP_ITEM (drawable)))
{
g_set_error_literal (error, GIMP_ERROR, GIMP_FAILED,
- _("The active layer's pixels are locked."));
+ _("The active layer's pixels are locked."));
return FALSE;
}
diff --git a/app/tools/gimpcolorbalancetool.c b/app/tools/gimpcolorbalancetool.c
index 195c15a..57fd898 100644
--- a/app/tools/gimpcolorbalancetool.c
+++ b/app/tools/gimpcolorbalancetool.c
@@ -122,7 +122,7 @@ gimp_color_balance_tool_initialize (GimpTool *tool,
if (! gimp_drawable_is_rgb (drawable))
{
g_set_error_literal (error, GIMP_ERROR, GIMP_FAILED,
- _("Color Balance operates only on RGB color layers."));
+ _("Color Balance operates only on RGB color layers."));
return FALSE;
}
diff --git a/app/tools/gimpfiltertool.c b/app/tools/gimpfiltertool.c
index 37f6a9b..5e85031 100644
--- a/app/tools/gimpfiltertool.c
+++ b/app/tools/gimpfiltertool.c
@@ -298,14 +298,14 @@ gimp_filter_tool_initialize (GimpTool *tool,
if (gimp_viewable_get_children (GIMP_VIEWABLE (drawable)))
{
g_set_error_literal (error, GIMP_ERROR, GIMP_FAILED,
- _("Cannot modify the pixels of layer groups."));
+ _("Cannot modify the pixels of layer groups."));
return FALSE;
}
if (gimp_item_is_content_locked (GIMP_ITEM (drawable)))
{
g_set_error_literal (error, GIMP_ERROR, GIMP_FAILED,
- _("The active layer's pixels are locked."));
+ _("The active layer's pixels are locked."));
return FALSE;
}
diff --git a/app/tools/gimphuesaturationtool.c b/app/tools/gimphuesaturationtool.c
index b9382ce..9d87b95 100644
--- a/app/tools/gimphuesaturationtool.c
+++ b/app/tools/gimphuesaturationtool.c
@@ -150,7 +150,7 @@ gimp_hue_saturation_tool_initialize (GimpTool *tool,
if (! gimp_drawable_is_rgb (drawable))
{
g_set_error_literal (error, GIMP_ERROR, GIMP_FAILED,
- _("Hue-Saturation operates only on RGB color layers."));
+ _("Hue-Saturation operates only on RGB color layers."));
return FALSE;
}
diff --git a/app/tools/gimpmovetool.c b/app/tools/gimpmovetool.c
index c72f4f0..0b64956 100644
--- a/app/tools/gimpmovetool.c
+++ b/app/tools/gimpmovetool.c
@@ -596,7 +596,7 @@ gimp_move_tool_cursor_update (GimpTool *tool,
else if (layer != gimp_image_get_active_layer (image))
{
tool_cursor = GIMP_TOOL_CURSOR_HAND;
- modifier = GIMP_CURSOR_MODIFIER_MOVE;
+ modifier = GIMP_CURSOR_MODIFIER_MOVE;
}
}
else
diff --git a/app/unique.h b/app/unique.h
index d775fe6..b1559d4 100644
--- a/app/unique.h
+++ b/app/unique.h
@@ -20,7 +20,7 @@
gboolean gimp_unique_open (const gchar **filenames,
- gboolean as_new);
+ gboolean as_new);
gboolean gimp_unique_batch_run (const gchar *batch_interpreter,
const gchar **batch_commands);
diff --git a/app/widgets/gimpcontainercombobox.c b/app/widgets/gimpcontainercombobox.c
index af4af35..3295b65 100644
--- a/app/widgets/gimpcontainercombobox.c
+++ b/app/widgets/gimpcontainercombobox.c
@@ -105,9 +105,9 @@ gimp_container_combo_box_class_init (GimpContainerComboBoxClass *klass)
g_object_class_install_property (object_class,
PROP_ELLIPSIZE,
g_param_spec_enum ("ellipsize", NULL, NULL,
- PANGO_TYPE_ELLIPSIZE_MODE,
- PANGO_ELLIPSIZE_MIDDLE,
- GIMP_PARAM_READWRITE |
+ PANGO_TYPE_ELLIPSIZE_MODE,
+ PANGO_ELLIPSIZE_MIDDLE,
+ GIMP_PARAM_READWRITE |
G_PARAM_CONSTRUCT));
}
diff --git a/app/widgets/gimpcontrollerlist.c b/app/widgets/gimpcontrollerlist.c
index 89bb930..d073846 100644
--- a/app/widgets/gimpcontrollerlist.c
+++ b/app/widgets/gimpcontrollerlist.c
@@ -581,12 +581,12 @@ gimp_controller_list_remove_clicked (GtkWidget *button,
_("Remove Controller '%s'?"), name);
gimp_message_box_set_text (GIMP_MESSAGE_DIALOG (dialog)->box,
- "%s",
+ "%s",
_("Removing this controller from the list of "
- "active controllers will permanently delete "
- "all event mappings you have configured.\n\n"
- "Selecting \"Disable Controller\" will disable "
- "the controller without removing it."));
+ "active controllers will permanently delete "
+ "all event mappings you have configured.\n\n"
+ "Selecting \"Disable Controller\" will disable "
+ "the controller without removing it."));
switch (gimp_dialog_run (GIMP_DIALOG (dialog)))
{
diff --git a/app/widgets/gimpoverlaydialog.c b/app/widgets/gimpoverlaydialog.c
index daa38d2..d8776b4 100644
--- a/app/widgets/gimpoverlaydialog.c
+++ b/app/widgets/gimpoverlaydialog.c
@@ -502,7 +502,7 @@ gimp_overlay_dialog_response (GimpOverlayDialog *dialog,
g_return_if_fail (GIMP_IS_OVERLAY_DIALOG (dialog));
g_signal_emit (dialog, signals[RESPONSE], 0,
- response_id);
+ response_id);
}
void
@@ -636,7 +636,7 @@ response_data_free (gpointer data)
static ResponseData *
get_response_data (GtkWidget *widget,
- gboolean create)
+ gboolean create)
{
ResponseData *ad = g_object_get_data (G_OBJECT (widget),
"gimp-overlay-dialog-response-data");
diff --git a/app/widgets/gimpprefsbox.c b/app/widgets/gimpprefsbox.c
index b61c55e..04ac4cc 100644
--- a/app/widgets/gimpprefsbox.c
+++ b/app/widgets/gimpprefsbox.c
@@ -363,8 +363,8 @@ gimp_prefs_box_add_page (GimpPrefsBox *box,
void
gimp_prefs_box_set_page_scrollable (GimpPrefsBox *box,
- GtkWidget *page,
- gboolean scrollable)
+ GtkWidget *page,
+ gboolean scrollable)
{
GimpPrefsBoxPrivate *private;
GtkWidget *scrolled_win;
@@ -383,8 +383,8 @@ gimp_prefs_box_set_page_scrollable (GimpPrefsBox *box,
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_win),
GTK_POLICY_NEVER,
- scrollable ?
- GTK_POLICY_AUTOMATIC : GTK_POLICY_NEVER);
+ scrollable ?
+ GTK_POLICY_AUTOMATIC : GTK_POLICY_NEVER);
}
GtkWidget *
diff --git a/app/widgets/gimptextproxy.c b/app/widgets/gimptextproxy.c
index 5d388b1..11e4535 100644
--- a/app/widgets/gimptextproxy.c
+++ b/app/widgets/gimptextproxy.c
@@ -77,55 +77,55 @@ gimp_text_proxy_class_init (GimpTextProxyClass *klass)
proxy_signals[CHANGE_SIZE] =
g_signal_new ("change-size",
- G_TYPE_FROM_CLASS (klass),
- G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
- G_STRUCT_OFFSET (GimpTextProxyClass, change_size),
- NULL, NULL,
- gimp_marshal_VOID__DOUBLE,
- G_TYPE_NONE, 1,
- G_TYPE_DOUBLE);
+ G_TYPE_FROM_CLASS (klass),
+ G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
+ G_STRUCT_OFFSET (GimpTextProxyClass, change_size),
+ NULL, NULL,
+ gimp_marshal_VOID__DOUBLE,
+ G_TYPE_NONE, 1,
+ G_TYPE_DOUBLE);
proxy_signals[CHANGE_BASELINE] =
g_signal_new ("change-baseline",
- G_TYPE_FROM_CLASS (klass),
- G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
- G_STRUCT_OFFSET (GimpTextProxyClass, change_baseline),
- NULL, NULL,
- gimp_marshal_VOID__DOUBLE,
- G_TYPE_NONE, 1,
- G_TYPE_DOUBLE);
+ G_TYPE_FROM_CLASS (klass),
+ G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
+ G_STRUCT_OFFSET (GimpTextProxyClass, change_baseline),
+ NULL, NULL,
+ gimp_marshal_VOID__DOUBLE,
+ G_TYPE_NONE, 1,
+ G_TYPE_DOUBLE);
proxy_signals[CHANGE_KERNING] =
g_signal_new ("change-kerning",
- G_TYPE_FROM_CLASS (klass),
- G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
- G_STRUCT_OFFSET (GimpTextProxyClass, change_kerning),
- NULL, NULL,
- gimp_marshal_VOID__DOUBLE,
- G_TYPE_NONE, 1,
- G_TYPE_DOUBLE);
+ G_TYPE_FROM_CLASS (klass),
+ G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
+ G_STRUCT_OFFSET (GimpTextProxyClass, change_kerning),
+ NULL, NULL,
+ gimp_marshal_VOID__DOUBLE,
+ G_TYPE_NONE, 1,
+ G_TYPE_DOUBLE);
binding_set = gtk_binding_set_by_class (klass);
gtk_binding_entry_add_signal (binding_set, GDK_KEY_plus, GDK_MOD1_MASK,
- "change-size", 1,
+ "change-size", 1,
G_TYPE_DOUBLE, 1.0);
gtk_binding_entry_add_signal (binding_set, GDK_KEY_minus, GDK_MOD1_MASK,
- "change-size", 1,
+ "change-size", 1,
G_TYPE_DOUBLE, -1.0);
gtk_binding_entry_add_signal (binding_set, GDK_KEY_Up, GDK_MOD1_MASK,
- "change-baseline", 1,
+ "change-baseline", 1,
G_TYPE_DOUBLE, 1.0);
gtk_binding_entry_add_signal (binding_set, GDK_KEY_Down, GDK_MOD1_MASK,
- "change-baseline", 1,
+ "change-baseline", 1,
G_TYPE_DOUBLE, -1.0);
gtk_binding_entry_add_signal (binding_set, GDK_KEY_Left, GDK_MOD1_MASK,
- "change-kerning", 1,
+ "change-kerning", 1,
G_TYPE_DOUBLE, -1.0);
gtk_binding_entry_add_signal (binding_set, GDK_KEY_Right, GDK_MOD1_MASK,
- "change-kerning", 1,
+ "change-kerning", 1,
G_TYPE_DOUBLE, 1.0);
}
diff --git a/app/widgets/gimpviewrendererimagefile.c b/app/widgets/gimpviewrendererimagefile.c
index 34437c6..c75d47c 100644
--- a/app/widgets/gimpviewrendererimagefile.c
+++ b/app/widgets/gimpviewrendererimagefile.c
@@ -100,7 +100,7 @@ gimp_view_renderer_imagefile_render (GimpViewRenderer *renderer,
static GdkPixbuf *
get_icon_for_mime_type (const gchar *mime_type,
- gint pixel_size)
+ gint pixel_size)
{
GtkIconTheme *icon_theme;
const gchar *separator;
diff --git a/app/widgets/gimpwindow.c b/app/widgets/gimpwindow.c
index 2b06e8f..67d4a4c 100644
--- a/app/widgets/gimpwindow.c
+++ b/app/widgets/gimpwindow.c
@@ -217,8 +217,8 @@ gimp_window_key_press_event (GtkWidget *widget,
GDK_MODIFIER_INTENT_PRIMARY_ACCELERATOR);
g_object_get (gtk_widget_get_settings (widget),
- "gtk-enable-mnemonics", &enable_mnemonics,
- NULL);
+ "gtk-enable-mnemonics", &enable_mnemonics,
+ NULL);
if (enable_mnemonics)
accel_mods |= gtk_window_get_mnemonic_modifier (window);
diff --git a/app/xcf/xcf-load.c b/app/xcf/xcf-load.c
index 08c6018..5be2a71 100644
--- a/app/xcf/xcf-load.c
+++ b/app/xcf/xcf-load.c
@@ -690,7 +690,7 @@ xcf_load_image_props (XcfInfo *info,
gimp_message (info->gimp, G_OBJECT (info->progress),
GIMP_MESSAGE_ERROR,
"Unknown compression type: %d",
- (gint) compression);
+ (gint) compression);
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]