Commit 3fa016fb authored by Jehan's avatar Jehan

app: clean out tab indentations.

parent 0d89f5b1
......@@ -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);
......
......@@ -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
......
......@@ -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);
}
......@@ -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)
{
......
......@@ -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);
......
......@@ -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);
......
......@@ -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);
......
......@@ -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)
......
......@@ -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;
}
......
......@@ -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;
}
}
......
......@@ -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);
......
......@@ -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 ();
......
......@@ -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);
......
......@@ -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;
}
......
......@@ -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));
......
......@@ -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;
}
......
......@@ -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);
......
......@@ -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);
......
......@@ -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++;
}
......
......@@ -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);
}
......
......@@ -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;
......
......@@ -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;
}
......
......@@ -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;
}
......
......@@ -298,14 +298,14 @@ gimp_filter_tool_initialize (GimpTool *tool,