[gimp] app: clean out a big bunch of leading tabs.
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: clean out a big bunch of leading tabs.
- Date: Sat, 14 Sep 2013 17:03:18 +0000 (UTC)
commit c7aa623a55965961cf5fabaa0b413e026475148b
Author: Jehan <jehan girinstud io>
Date: Sun Sep 15 04:59:20 2013 +1200
app: clean out a big bunch of leading tabs.
For some unknown reason, most calls to gimp_message_literal() were
indented with tabs.
app/actions/documents-commands.c | 4 +-
app/actions/drawable-commands.c | 4 +-
app/actions/edit-commands.c | 48 +++++++++++++++---------------
app/actions/error-console-commands.c | 4 +-
app/actions/file-commands.c | 10 +++---
app/actions/gradients-commands.c | 4 +-
app/actions/image-commands.c | 12 ++++----
app/actions/layers-commands.c | 22 +++++++-------
app/actions/palettes-commands.c | 6 ++--
app/actions/plug-in-commands.c | 4 +-
app/actions/select-commands.c | 16 +++++-----
app/actions/vectors-commands.c | 22 +++++++-------
app/core/gimp-templates.c | 2 +-
app/core/gimp.c | 6 ++--
app/dialogs/convert-type-dialog.c | 2 +-
app/dialogs/palette-import-dialog.c | 4 +-
app/dialogs/stroke-dialog.c | 6 ++--
app/display/gimpdisplayshell-dnd.c | 4 +-
app/file/file-open.c | 4 +-
app/pdb/gimpprocedure.c | 2 +-
app/plug-in/gimpplugin-message.c | 4 +-
app/plug-in/gimpplugin.c | 2 +-
app/plug-in/gimppluginmanager-restore.c | 8 ++--
app/text/gimptextlayer.c | 4 +-
app/tools/gimp-tools.c | 2 +-
app/tools/gimpeditselectiontool.c | 4 +-
app/tools/gimpimagemaptool-settings.c | 8 ++--
app/tools/gimptool.c | 6 ++--
app/widgets/gimpactionview.c | 24 ++++++++--------
app/widgets/gimpcontrollerlist.c | 30 +++++++++---------
app/widgets/gimpcontrollers.c | 2 +-
app/widgets/gimpdataeditor.c | 4 +-
app/widgets/gimpdnd-xds.c | 4 +-
app/widgets/gimphelp.c | 2 +-
app/widgets/gimpitemtreeview.c | 4 +-
app/widgets/gimppdbdialog.c | 4 +-
app/widgets/gimpsettingsbox.c | 4 +-
app/widgets/gimpthumbbox.c | 4 +-
app/widgets/gimpvectorstreeview.c | 4 +-
app/xcf/xcf-load.c | 48 +++++++++++++++---------------
40 files changed, 179 insertions(+), 179 deletions(-)
---
diff --git a/app/actions/documents-commands.c b/app/actions/documents-commands.c
index e44f386..b189604 100644
--- a/app/actions/documents-commands.c
+++ b/app/actions/documents-commands.c
@@ -275,8 +275,8 @@ documents_recreate_preview_cmd_callback (GtkAction *action,
FALSE, &error))
{
gimp_message_literal (context->gimp,
- NULL , GIMP_MESSAGE_ERROR,
- error->message);
+ NULL , GIMP_MESSAGE_ERROR,
+ error->message);
g_clear_error (&error);
}
}
diff --git a/app/actions/drawable-commands.c b/app/actions/drawable-commands.c
index 50d61b3..503e9f5 100644
--- a/app/actions/drawable-commands.c
+++ b/app/actions/drawable-commands.c
@@ -105,8 +105,8 @@ drawable_levels_stretch_cmd_callback (GtkAction *action,
if (! gimp_drawable_is_rgb (drawable))
{
gimp_message_literal (image->gimp,
- G_OBJECT (widget), GIMP_MESSAGE_WARNING,
- _("White Balance operates only on RGB color layers."));
+ G_OBJECT (widget), GIMP_MESSAGE_WARNING,
+ _("White Balance operates only on RGB color layers."));
return;
}
diff --git a/app/actions/edit-commands.c b/app/actions/edit-commands.c
index c9d39f5..1263e5c 100644
--- a/app/actions/edit-commands.c
+++ b/app/actions/edit-commands.c
@@ -214,17 +214,17 @@ edit_cut_cmd_callback (GtkAction *action,
if (display)
gimp_message_literal (image->gimp,
- G_OBJECT (display), GIMP_MESSAGE_INFO,
- _("Cut pixels to the clipboard"));
+ G_OBJECT (display), GIMP_MESSAGE_INFO,
+ _("Cut pixels to the clipboard"));
gimp_image_flush (image);
}
else
{
gimp_message_literal (image->gimp,
- G_OBJECT (action_data_get_display (data)),
- GIMP_MESSAGE_WARNING,
- error->message);
+ G_OBJECT (action_data_get_display (data)),
+ GIMP_MESSAGE_WARNING,
+ error->message);
g_clear_error (&error);
}
}
@@ -244,17 +244,17 @@ edit_copy_cmd_callback (GtkAction *action,
if (display)
gimp_message_literal (image->gimp,
- G_OBJECT (display), GIMP_MESSAGE_INFO,
- _("Copied pixels to the clipboard"));
+ G_OBJECT (display), GIMP_MESSAGE_INFO,
+ _("Copied pixels to the clipboard"));
gimp_image_flush (image);
}
else
{
gimp_message_literal (image->gimp,
- G_OBJECT (action_data_get_display (data)),
- GIMP_MESSAGE_WARNING,
- error->message);
+ G_OBJECT (action_data_get_display (data)),
+ GIMP_MESSAGE_WARNING,
+ error->message);
g_clear_error (&error);
}
}
@@ -273,17 +273,17 @@ edit_copy_visible_cmd_callback (GtkAction *action,
if (display)
gimp_message_literal (image->gimp,
- G_OBJECT (display), GIMP_MESSAGE_INFO,
- _("Copied pixels to the clipboard"));
+ G_OBJECT (display), GIMP_MESSAGE_INFO,
+ _("Copied pixels to the clipboard"));
gimp_image_flush (image);
}
else
{
gimp_message_literal (image->gimp,
- G_OBJECT (action_data_get_display (data)),
- GIMP_MESSAGE_WARNING,
- error->message);
+ G_OBJECT (action_data_get_display (data)),
+ GIMP_MESSAGE_WARNING,
+ error->message);
g_clear_error (&error);
}
}
@@ -334,7 +334,7 @@ edit_paste_as_new_cmd_callback (GtkAction *action,
else
{
gimp_message_literal (gimp, NULL, GIMP_MESSAGE_WARNING,
- _("There is no image data in the clipboard to paste."));
+ _("There is no image data in the clipboard to paste."));
}
}
@@ -370,7 +370,7 @@ edit_paste_as_new_layer_cmd_callback (GtkAction *action,
else
{
gimp_message_literal (gimp, NULL, GIMP_MESSAGE_WARNING,
- _("There is no image data in the clipboard to paste."));
+ _("There is no image data in the clipboard to paste."));
}
}
@@ -552,8 +552,8 @@ edit_paste (GimpDisplay *display,
else
{
gimp_message_literal (display->gimp, G_OBJECT (display),
- GIMP_MESSAGE_WARNING,
- _("There is no image data in the clipboard to paste."));
+ GIMP_MESSAGE_WARNING,
+ _("There is no image data in the clipboard to paste."));
}
}
}
@@ -570,7 +570,7 @@ cut_named_buffer_callback (GtkWidget *widget,
if (! drawable)
{
gimp_message_literal (image->gimp, NULL, GIMP_MESSAGE_WARNING,
- _("There is no active layer or channel to cut from."));
+ _("There is no active layer or channel to cut from."));
return;
}
@@ -585,7 +585,7 @@ cut_named_buffer_callback (GtkWidget *widget,
else
{
gimp_message_literal (image->gimp, NULL, GIMP_MESSAGE_WARNING,
- error->message);
+ error->message);
g_clear_error (&error);
}
}
@@ -602,7 +602,7 @@ copy_named_buffer_callback (GtkWidget *widget,
if (! drawable)
{
gimp_message_literal (image->gimp, NULL, GIMP_MESSAGE_WARNING,
- _("There is no active layer or channel to copy from."));
+ _("There is no active layer or channel to copy from."));
return;
}
@@ -617,7 +617,7 @@ copy_named_buffer_callback (GtkWidget *widget,
else
{
gimp_message_literal (image->gimp, NULL, GIMP_MESSAGE_WARNING,
- error->message);
+ error->message);
g_clear_error (&error);
}
}
@@ -642,7 +642,7 @@ copy_named_visible_buffer_callback (GtkWidget *widget,
else
{
gimp_message_literal (image->gimp, NULL, GIMP_MESSAGE_WARNING,
- error->message);
+ error->message);
g_clear_error (&error);
}
}
diff --git a/app/actions/error-console-commands.c b/app/actions/error-console-commands.c
index 585a9ff..4b895bd 100644
--- a/app/actions/error-console-commands.c
+++ b/app/actions/error-console-commands.c
@@ -80,8 +80,8 @@ error_console_save_cmd_callback (GtkAction *action,
NULL, NULL))
{
gimp_message_literal (console->gimp,
- G_OBJECT (console), GIMP_MESSAGE_WARNING,
- _("Cannot save. Nothing is selected."));
+ G_OBJECT (console), GIMP_MESSAGE_WARNING,
+ _("Cannot save. Nothing is selected."));
return;
}
diff --git a/app/actions/file-commands.c b/app/actions/file-commands.c
index bdd4fdc..9ca2f62 100644
--- a/app/actions/file-commands.c
+++ b/app/actions/file-commands.c
@@ -268,8 +268,8 @@ file_save_cmd_callback (GtkAction *action,
else
{
gimp_message_literal (image->gimp,
- G_OBJECT (display), GIMP_MESSAGE_INFO,
- _("No changes need to be saved"));
+ G_OBJECT (display), GIMP_MESSAGE_INFO,
+ _("No changes need to be saved"));
saved = TRUE;
break;
}
@@ -400,9 +400,9 @@ file_revert_cmd_callback (GtkAction *action,
if (! uri)
{
gimp_message_literal (image->gimp,
- G_OBJECT (display), GIMP_MESSAGE_ERROR,
- _("Revert failed. "
- "No file name associated with this image."));
+ G_OBJECT (display), GIMP_MESSAGE_ERROR,
+ _("Revert failed. "
+ "No file name associated with this image."));
}
else if (dialog)
{
diff --git a/app/actions/gradients-commands.c b/app/actions/gradients-commands.c
index 10c5737..9b7f114 100644
--- a/app/actions/gradients-commands.c
+++ b/app/actions/gradients-commands.c
@@ -131,8 +131,8 @@ gradients_save_as_pov_ray_response (GtkWidget *dialog,
if (! gimp_gradient_save_pov (gradient, filename, &error))
{
gimp_message_literal (g_object_get_data (G_OBJECT (dialog), "gimp"),
- G_OBJECT (dialog), GIMP_MESSAGE_ERROR,
- error->message);
+ G_OBJECT (dialog), GIMP_MESSAGE_ERROR,
+ error->message);
g_clear_error (&error);
return;
}
diff --git a/app/actions/image-commands.c b/app/actions/image-commands.c
index f7a79e1..efb9230 100644
--- a/app/actions/image-commands.c
+++ b/app/actions/image-commands.c
@@ -187,8 +187,8 @@ image_convert_base_type_cmd_callback (GtkAction *action,
NULL, &error))
{
gimp_message_literal (image->gimp,
- G_OBJECT (widget), GIMP_MESSAGE_WARNING,
- error->message);
+ G_OBJECT (widget), GIMP_MESSAGE_WARNING,
+ error->message);
g_clear_error (&error);
return;
}
@@ -497,8 +497,8 @@ image_crop_to_selection_cmd_callback (GtkAction *action,
&x1, &y1, &x2, &y2))
{
gimp_message_literal (image->gimp,
- G_OBJECT (widget), GIMP_MESSAGE_WARNING,
- _("Cannot crop because the current selection is empty."));
+ G_OBJECT (widget), GIMP_MESSAGE_WARNING,
+ _("Cannot crop because the current selection is empty."));
return;
}
@@ -524,8 +524,8 @@ image_crop_to_content_cmd_callback (GtkAction *action,
&x1, &y1, &x2, &y2))
{
gimp_message_literal (image->gimp,
- G_OBJECT (widget), GIMP_MESSAGE_WARNING,
- _("Cannot crop because the image has no content."));
+ G_OBJECT (widget), GIMP_MESSAGE_WARNING,
+ _("Cannot crop because the image has no content."));
return;
}
diff --git a/app/actions/layers-commands.c b/app/actions/layers-commands.c
index 9065fce..8c370cc 100644
--- a/app/actions/layers-commands.c
+++ b/app/actions/layers-commands.c
@@ -236,8 +236,8 @@ layers_new_cmd_callback (GtkAction *action,
if (! floating_sel_to_layer (floating_sel, &error))
{
gimp_message_literal (image->gimp,
- G_OBJECT (widget), GIMP_MESSAGE_WARNING,
- error->message);
+ G_OBJECT (widget), GIMP_MESSAGE_WARNING,
+ error->message);
g_clear_error (&error);
return;
}
@@ -289,7 +289,7 @@ layers_new_last_vals_cmd_callback (GtkAction *action,
if (! floating_sel_to_layer (floating_sel, &error))
{
gimp_message_literal (image->gimp, G_OBJECT (widget),
- GIMP_MESSAGE_WARNING, error->message);
+ GIMP_MESSAGE_WARNING, error->message);
g_clear_error (&error);
return;
}
@@ -689,8 +689,8 @@ layers_crop_to_selection_cmd_callback (GtkAction *action,
&x1, &y1, &x2, &y2))
{
gimp_message_literal (image->gimp,
- G_OBJECT (widget), GIMP_MESSAGE_WARNING,
- _("Cannot crop because the current selection is empty."));
+ G_OBJECT (widget), GIMP_MESSAGE_WARNING,
+ _("Cannot crop because the current selection is empty."));
return;
}
@@ -728,8 +728,8 @@ layers_crop_to_content_cmd_callback (GtkAction *action,
&x1, &y1, &x2, &y2))
{
gimp_message_literal (image->gimp,
- G_OBJECT (widget), GIMP_MESSAGE_WARNING,
- _("Cannot crop because the active layer has no content."));
+ G_OBJECT (widget), GIMP_MESSAGE_WARNING,
+ _("Cannot crop because the active layer has no content."));
return;
}
@@ -1076,8 +1076,8 @@ layers_edit_layer_response (GtkWidget *widget,
else
{
gimp_message_literal (dialog->image->gimp,
- G_OBJECT (widget), GIMP_MESSAGE_WARNING,
- error->message);
+ G_OBJECT (widget), GIMP_MESSAGE_WARNING,
+ error->message);
g_clear_error (&error);
return;
@@ -1112,8 +1112,8 @@ layers_add_mask_response (GtkWidget *widget,
! dialog->channel)
{
gimp_message_literal (image->gimp,
- G_OBJECT (widget), GIMP_MESSAGE_WARNING,
- _("Please select a channel first"));
+ G_OBJECT (widget), GIMP_MESSAGE_WARNING,
+ _("Please select a channel first"));
return;
}
diff --git a/app/actions/palettes-commands.c b/app/actions/palettes-commands.c
index 2c5f2b3..6e91b3d 100644
--- a/app/actions/palettes-commands.c
+++ b/app/actions/palettes-commands.c
@@ -104,9 +104,9 @@ palettes_merge_callback (GtkWidget *widget,
if (! sel_list)
{
gimp_message_literal (gimp,
- G_OBJECT (widget), GIMP_MESSAGE_WARNING,
- "Can't merge palettes because "
- "there are no palettes selected.");
+ G_OBJECT (widget), GIMP_MESSAGE_WARNING,
+ "Can't merge palettes because "
+ "there are no palettes selected.");
return;
}
diff --git a/app/actions/plug-in-commands.c b/app/actions/plug-in-commands.c
index 668b4b1..aba0d97 100644
--- a/app/actions/plug-in-commands.c
+++ b/app/actions/plug-in-commands.c
@@ -309,8 +309,8 @@ plug_in_procedure_execute (GimpPlugInProcedure *procedure,
if (error)
{
gimp_message_literal (gimp,
- G_OBJECT (display), GIMP_MESSAGE_ERROR,
- error->message);
+ G_OBJECT (display), GIMP_MESSAGE_ERROR,
+ error->message);
g_error_free (error);
}
else
diff --git a/app/actions/select-commands.c b/app/actions/select-commands.c
index 89e5012..95272b0 100644
--- a/app/actions/select-commands.c
+++ b/app/actions/select-commands.c
@@ -132,8 +132,8 @@ select_float_cmd_callback (GtkAction *action,
else
{
gimp_message_literal (image->gimp,
- G_OBJECT (widget), GIMP_MESSAGE_WARNING,
- error->message);
+ G_OBJECT (widget), GIMP_MESSAGE_WARNING,
+ error->message);
g_clear_error (&error);
}
}
@@ -341,8 +341,8 @@ select_stroke_cmd_callback (GtkAction *action,
if (! drawable)
{
gimp_message_literal (image->gimp,
- G_OBJECT (widget), GIMP_MESSAGE_WARNING,
- _("There is no active layer or channel to stroke to."));
+ G_OBJECT (widget), GIMP_MESSAGE_WARNING,
+ _("There is no active layer or channel to stroke to."));
return;
}
@@ -374,8 +374,8 @@ select_stroke_last_vals_cmd_callback (GtkAction *action,
if (! drawable)
{
gimp_message_literal (image->gimp,
- G_OBJECT (widget), GIMP_MESSAGE_WARNING,
- _("There is no active layer or channel to stroke to."));
+ G_OBJECT (widget), GIMP_MESSAGE_WARNING,
+ _("There is no active layer or channel to stroke to."));
return;
}
@@ -390,8 +390,8 @@ select_stroke_last_vals_cmd_callback (GtkAction *action,
drawable, context, options, FALSE, TRUE, NULL, &error))
{
gimp_message_literal (image->gimp,
- G_OBJECT (widget), GIMP_MESSAGE_WARNING,
- error->message);
+ G_OBJECT (widget), GIMP_MESSAGE_WARNING,
+ error->message);
g_clear_error (&error);
}
else
diff --git a/app/actions/vectors-commands.c b/app/actions/vectors-commands.c
index 1ffa2ec..d531546 100644
--- a/app/actions/vectors-commands.c
+++ b/app/actions/vectors-commands.c
@@ -289,8 +289,8 @@ vectors_merge_visible_cmd_callback (GtkAction *action,
if (! gimp_image_merge_visible_vectors (image, &error))
{
gimp_message_literal (image->gimp,
- G_OBJECT (widget), GIMP_MESSAGE_WARNING,
- error->message);
+ G_OBJECT (widget), GIMP_MESSAGE_WARNING,
+ error->message);
g_clear_error (&error);
return;
}
@@ -337,8 +337,8 @@ vectors_selection_to_vectors_cmd_callback (GtkAction *action,
if (! procedure)
{
gimp_message_literal (image->gimp,
- G_OBJECT (widget), GIMP_MESSAGE_ERROR,
- "Selection to path procedure lookup failed.");
+ G_OBJECT (widget), GIMP_MESSAGE_ERROR,
+ "Selection to path procedure lookup failed.");
return;
}
@@ -362,8 +362,8 @@ vectors_selection_to_vectors_cmd_callback (GtkAction *action,
if (error)
{
gimp_message_literal (image->gimp,
- G_OBJECT (widget), GIMP_MESSAGE_ERROR,
- error->message);
+ G_OBJECT (widget), GIMP_MESSAGE_ERROR,
+ error->message);
g_error_free (error);
}
}
@@ -385,8 +385,8 @@ vectors_stroke_cmd_callback (GtkAction *action,
if (! drawable)
{
gimp_message_literal (image->gimp,
- G_OBJECT (widget), GIMP_MESSAGE_WARNING,
- _("There is no active layer or channel to stroke to."));
+ G_OBJECT (widget), GIMP_MESSAGE_WARNING,
+ _("There is no active layer or channel to stroke to."));
return;
}
@@ -419,8 +419,8 @@ vectors_stroke_last_vals_cmd_callback (GtkAction *action,
if (! drawable)
{
gimp_message_literal (image->gimp,
- G_OBJECT (widget), GIMP_MESSAGE_WARNING,
- _("There is no active layer or channel to stroke to."));
+ G_OBJECT (widget), GIMP_MESSAGE_WARNING,
+ _("There is no active layer or channel to stroke to."));
return;
}
@@ -436,7 +436,7 @@ vectors_stroke_last_vals_cmd_callback (GtkAction *action,
TRUE, NULL, &error))
{
gimp_message_literal (image->gimp, G_OBJECT (widget),
- GIMP_MESSAGE_WARNING, error->message);
+ GIMP_MESSAGE_WARNING, error->message);
g_clear_error (&error);
}
else
diff --git a/app/core/gimp-templates.c b/app/core/gimp-templates.c
index 8da3e4e..2c99630 100644
--- a/app/core/gimp-templates.c
+++ b/app/core/gimp-templates.c
@@ -63,7 +63,7 @@ gimp_templates_load (Gimp *gimp)
filename, NULL, &error))
{
gimp_message_literal (gimp, NULL, GIMP_MESSAGE_ERROR,
- error->message);
+ error->message);
}
}
else
diff --git a/app/core/gimp.c b/app/core/gimp.c
index aaea107..33c0652 100644
--- a/app/core/gimp.c
+++ b/app/core/gimp.c
@@ -1285,9 +1285,9 @@ gimp_message_valist (Gimp *gimp,
void
gimp_message_literal (Gimp *gimp,
- GObject *handler,
- GimpMessageSeverity severity,
- const gchar *message)
+ GObject *handler,
+ GimpMessageSeverity severity,
+ const gchar *message)
{
g_return_if_fail (GIMP_IS_GIMP (gimp));
g_return_if_fail (handler == NULL || G_IS_OBJECT (handler));
diff --git a/app/dialogs/convert-type-dialog.c b/app/dialogs/convert-type-dialog.c
index 6c93b0a..e5ec88b 100644
--- a/app/dialogs/convert-type-dialog.c
+++ b/app/dialogs/convert-type-dialog.c
@@ -319,7 +319,7 @@ convert_dialog_response (GtkWidget *widget,
progress, &error))
{
gimp_message_literal (dialog->image->gimp, G_OBJECT (dialog->dialog),
- GIMP_MESSAGE_WARNING, error->message);
+ GIMP_MESSAGE_WARNING, error->message);
g_clear_error (&error);
if (progress)
diff --git a/app/dialogs/palette-import-dialog.c b/app/dialogs/palette-import-dialog.c
index 05edf14..151c33f 100644
--- a/app/dialogs/palette-import-dialog.c
+++ b/app/dialogs/palette-import-dialog.c
@@ -851,8 +851,8 @@ palette_import_make_palette (ImportDialog *dialog)
if (! palette)
{
gimp_message_literal (dialog->context->gimp,
- G_OBJECT (dialog->dialog), GIMP_MESSAGE_ERROR,
- error->message);
+ G_OBJECT (dialog->dialog), GIMP_MESSAGE_ERROR,
+ error->message);
g_error_free (error);
}
}
diff --git a/app/dialogs/stroke-dialog.c b/app/dialogs/stroke-dialog.c
index 7e03f2f..31a159e 100644
--- a/app/dialogs/stroke-dialog.c
+++ b/app/dialogs/stroke-dialog.c
@@ -277,9 +277,9 @@ stroke_dialog_response (GtkWidget *widget,
if (! drawable)
{
gimp_message_literal (context->gimp, G_OBJECT (widget),
- GIMP_MESSAGE_WARNING,
- _("There is no active layer or channel "
- "to stroke to."));
+ GIMP_MESSAGE_WARNING,
+ _("There is no active layer or channel "
+ "to stroke to."));
return;
}
diff --git a/app/display/gimpdisplayshell-dnd.c b/app/display/gimpdisplayshell-dnd.c
index 52b6a38..fb12e57 100644
--- a/app/display/gimpdisplayshell-dnd.c
+++ b/app/display/gimpdisplayshell-dnd.c
@@ -323,8 +323,8 @@ gimp_display_shell_drop_svg (GtkWidget *widget,
NULL, &error))
{
gimp_message_literal (shell->display->gimp, G_OBJECT (shell->display),
- GIMP_MESSAGE_ERROR,
- error->message);
+ GIMP_MESSAGE_ERROR,
+ error->message);
g_clear_error (&error);
}
else
diff --git a/app/file/file-open.c b/app/file/file-open.c
index 14c1d24..136de5a 100644
--- a/app/file/file-open.c
+++ b/app/file/file-open.c
@@ -756,13 +756,13 @@ file_open_profile_apply_rgb (GimpImage *image,
g_object_set (config, "mode", GIMP_COLOR_MANAGEMENT_OFF, NULL);
gimp_message_literal (image->gimp, G_OBJECT (progress),
- GIMP_MESSAGE_WARNING, msg);
+ GIMP_MESSAGE_WARNING, msg);
g_free (msg);
}
else
{
gimp_message_literal (image->gimp, G_OBJECT (progress),
- GIMP_MESSAGE_ERROR, error->message);
+ GIMP_MESSAGE_ERROR, error->message);
}
g_error_free (error);
diff --git a/app/pdb/gimpprocedure.c b/app/pdb/gimpprocedure.c
index 419e1de..6400d3b 100644
--- a/app/pdb/gimpprocedure.c
+++ b/app/pdb/gimpprocedure.c
@@ -197,7 +197,7 @@ gimp_procedure_real_execute_async (GimpProcedure *procedure,
if (error)
{
gimp_message_literal (gimp, G_OBJECT (progress), GIMP_MESSAGE_ERROR,
- error->message);
+ error->message);
g_error_free (error);
}
}
diff --git a/app/plug-in/gimpplugin-message.c b/app/plug-in/gimpplugin-message.c
index 9c32b90..10218ce 100644
--- a/app/plug-in/gimpplugin-message.c
+++ b/app/plug-in/gimpplugin-message.c
@@ -876,8 +876,8 @@ gimp_plug_in_handle_proc_install (GimpPlugIn *plug_in,
&error))
{
gimp_message_literal (plug_in->manager->gimp,
- NULL, GIMP_MESSAGE_WARNING,
- error->message);
+ NULL, GIMP_MESSAGE_WARNING,
+ error->message);
g_clear_error (&error);
}
}
diff --git a/app/plug-in/gimpplugin.c b/app/plug-in/gimpplugin.c
index 153a311..16350fb 100644
--- a/app/plug-in/gimpplugin.c
+++ b/app/plug-in/gimpplugin.c
@@ -945,7 +945,7 @@ gimp_plug_in_menu_register (GimpPlugIn *plug_in,
if (! gimp_plug_in_procedure_add_menu_path (proc, menu_path, &error))
{
gimp_message_literal (plug_in->manager->gimp, NULL, GIMP_MESSAGE_ERROR,
- error->message);
+ error->message);
g_clear_error (&error);
return FALSE;
diff --git a/app/plug-in/gimppluginmanager-restore.c b/app/plug-in/gimppluginmanager-restore.c
index 96e05a4..7282c22 100644
--- a/app/plug-in/gimppluginmanager-restore.c
+++ b/app/plug-in/gimppluginmanager-restore.c
@@ -132,7 +132,7 @@ gimp_plug_in_manager_restore (GimpPlugInManager *manager,
if (! plug_in_rc_write (manager->plug_in_defs, pluginrc, &error))
{
gimp_message_literal (gimp,
- NULL, GIMP_MESSAGE_ERROR, error->message);
+ NULL, GIMP_MESSAGE_ERROR, error->message);
g_clear_error (&error);
}
@@ -302,7 +302,7 @@ gimp_plug_in_manager_read_pluginrc (GimpPlugInManager *manager,
{
if (error->code != GIMP_CONFIG_ERROR_OPEN_ENOENT)
gimp_message_literal (manager->gimp, NULL, GIMP_MESSAGE_ERROR,
- error->message);
+ error->message);
g_clear_error (&error);
}
@@ -464,7 +464,7 @@ gimp_plug_in_manager_run_extensions (GimpPlugInManager *manager,
if (error)
{
gimp_message_literal (gimp, NULL, GIMP_MESSAGE_ERROR,
- error->message);
+ error->message);
g_clear_error (&error);
}
}
@@ -713,7 +713,7 @@ gimp_plug_in_manager_add_to_db (GimpPlugInManager *manager,
if (error)
{
gimp_message_literal (manager->gimp, NULL, GIMP_MESSAGE_ERROR,
- error->message);
+ error->message);
g_error_free (error);
}
}
diff --git a/app/text/gimptextlayer.c b/app/text/gimptextlayer.c
index 0a7cd55..bc85a04 100644
--- a/app/text/gimptextlayer.c
+++ b/app/text/gimptextlayer.c
@@ -625,8 +625,8 @@ gimp_text_layer_render (GimpTextLayer *layer)
if (gimp_container_is_empty (image->gimp->fonts))
{
gimp_message_literal (image->gimp, NULL, GIMP_MESSAGE_ERROR,
- _("Due to lack of any fonts, "
- "text functionality is not available."));
+ _("Due to lack of any fonts, "
+ "text functionality is not available."));
return FALSE;
}
diff --git a/app/tools/gimp-tools.c b/app/tools/gimp-tools.c
index bb69ba7..fdea9f0 100644
--- a/app/tools/gimp-tools.c
+++ b/app/tools/gimp-tools.c
@@ -389,7 +389,7 @@ gimp_tools_save (Gimp *gimp,
if (! gimp_contexts_save (gimp, &error))
{
gimp_message_literal (gimp, NULL, GIMP_MESSAGE_WARNING,
- error->message);
+ error->message);
g_clear_error (&error);
}
diff --git a/app/tools/gimpeditselectiontool.c b/app/tools/gimpeditselectiontool.c
index 68bfcf8..0b93f7c 100644
--- a/app/tools/gimpeditselectiontool.c
+++ b/app/tools/gimpeditselectiontool.c
@@ -692,8 +692,8 @@ gimp_edit_selection_tool_update_motion (GimpEditSelectionTool *edit_select,
{
/* no region to float, abort safely */
gimp_message_literal (display->gimp, G_OBJECT (display),
- GIMP_MESSAGE_WARNING,
- error->message);
+ GIMP_MESSAGE_WARNING,
+ error->message);
g_clear_error (&error);
gimp_draw_tool_resume (draw_tool);
diff --git a/app/tools/gimpimagemaptool-settings.c b/app/tools/gimpimagemaptool-settings.c
index 2e191f8..f9ce8fe 100644
--- a/app/tools/gimpimagemaptool-settings.c
+++ b/app/tools/gimpimagemaptool-settings.c
@@ -172,8 +172,8 @@ gimp_image_map_tool_settings_import (GimpSettingsBox *box,
if (! tool_class->settings_import (tool, filename, &error))
{
gimp_message_literal (GIMP_TOOL (tool)->tool_info->gimp,
- G_OBJECT (gimp_tool_gui_get_dialog (tool->gui)),
- GIMP_MESSAGE_ERROR, error->message);
+ G_OBJECT (gimp_tool_gui_get_dialog (tool->gui)),
+ GIMP_MESSAGE_ERROR, error->message);
g_clear_error (&error);
return FALSE;
@@ -202,8 +202,8 @@ gimp_image_map_tool_settings_export (GimpSettingsBox *box,
if (! tool_class->settings_export (tool, filename, &error))
{
gimp_message_literal (GIMP_TOOL (tool)->tool_info->gimp,
- G_OBJECT (gimp_tool_gui_get_dialog (tool->gui)),
- GIMP_MESSAGE_ERROR, error->message);
+ G_OBJECT (gimp_tool_gui_get_dialog (tool->gui)),
+ GIMP_MESSAGE_ERROR, error->message);
g_clear_error (&error);
return FALSE;
diff --git a/app/tools/gimptool.c b/app/tools/gimptool.c
index 64d5bdd..9eb9967 100644
--- a/app/tools/gimptool.c
+++ b/app/tools/gimptool.c
@@ -1266,15 +1266,15 @@ gimp_tool_message (GimpTool *tool,
void
gimp_tool_message_literal (GimpTool *tool,
- GimpDisplay *display,
- const gchar *message)
+ GimpDisplay *display,
+ const gchar *message)
{
g_return_if_fail (GIMP_IS_TOOL (tool));
g_return_if_fail (GIMP_IS_DISPLAY (display));
g_return_if_fail (message != NULL);
gimp_message_literal (display->gimp, G_OBJECT (display),
- GIMP_MESSAGE_WARNING, message);
+ GIMP_MESSAGE_WARNING, message);
}
void
diff --git a/app/widgets/gimpactionview.c b/app/widgets/gimpactionview.c
index 41a2f98..3f2d7d7 100644
--- a/app/widgets/gimpactionview.c
+++ b/app/widgets/gimpactionview.c
@@ -629,8 +629,8 @@ gimp_action_view_conflict_response (GtkWidget *dialog,
TRUE))
{
gimp_message_literal (confirm_data->manager->gimp, G_OBJECT (dialog),
- GIMP_MESSAGE_ERROR,
- _("Changing shortcut failed."));
+ GIMP_MESSAGE_ERROR,
+ _("Changing shortcut failed."));
}
}
@@ -786,15 +786,15 @@ gimp_action_view_accel_edited (GtkCellRendererAccel *accel,
accel_key == GDK_KEY_KP_Space)
{
gimp_message_literal (view->manager->gimp,
- G_OBJECT (view), GIMP_MESSAGE_ERROR,
- _("Invalid shortcut."));
+ G_OBJECT (view), GIMP_MESSAGE_ERROR,
+ _("Invalid shortcut."));
}
else if (accel_key == GDK_KEY_F1 ||
action_accel_key == GDK_KEY_F1)
{
gimp_message_literal (view->manager->gimp,
- G_OBJECT (view), GIMP_MESSAGE_ERROR,
- _("F1 cannot be remapped."));
+ G_OBJECT (view), GIMP_MESSAGE_ERROR,
+ _("F1 cannot be remapped."));
}
else if (! gtk_accel_map_change_entry (accel_path,
accel_key, accel_mask, FALSE))
@@ -858,8 +858,8 @@ gimp_action_view_accel_edited (GtkCellRendererAccel *accel,
else
{
gimp_message_literal (view->manager->gimp,
- G_OBJECT (view), GIMP_MESSAGE_ERROR,
- _("Changing shortcut failed."));
+ G_OBJECT (view), GIMP_MESSAGE_ERROR,
+ _("Changing shortcut failed."));
}
}
}
@@ -886,15 +886,15 @@ gimp_action_view_accel_cleared (GtkCellRendererAccel *accel,
if (action_accel_key == GDK_KEY_F1)
{
gimp_message_literal (view->manager->gimp,
- G_OBJECT (view), GIMP_MESSAGE_ERROR,
- _("F1 cannot be remapped."));
+ G_OBJECT (view), GIMP_MESSAGE_ERROR,
+ _("F1 cannot be remapped."));
return;
}
if (! gtk_accel_map_change_entry (accel_path, 0, 0, FALSE))
{
gimp_message_literal (view->manager->gimp,
- G_OBJECT (view), GIMP_MESSAGE_ERROR,
- _("Removing shortcut failed."));
+ G_OBJECT (view), GIMP_MESSAGE_ERROR,
+ _("Removing shortcut failed."));
}
}
diff --git a/app/widgets/gimpcontrollerlist.c b/app/widgets/gimpcontrollerlist.c
index eb3634b..a35efa8 100644
--- a/app/widgets/gimpcontrollerlist.c
+++ b/app/widgets/gimpcontrollerlist.c
@@ -508,33 +508,33 @@ gimp_controller_list_add_clicked (GtkWidget *button,
gimp_controllers_get_keyboard (list->gimp) != NULL)
{
gimp_message_literal (list->gimp,
- G_OBJECT (button), GIMP_MESSAGE_WARNING,
- _("There can only be one active keyboard "
- "controller.\n\n"
- "You already have a keyboard controller in "
- "your list of active controllers."));
+ G_OBJECT (button), GIMP_MESSAGE_WARNING,
+ _("There can only be one active keyboard "
+ "controller.\n\n"
+ "You already have a keyboard controller in "
+ "your list of active controllers."));
return;
}
else if (list->src_gtype == GIMP_TYPE_CONTROLLER_WHEEL &&
gimp_controllers_get_wheel (list->gimp) != NULL)
{
gimp_message_literal (list->gimp,
- G_OBJECT (button), GIMP_MESSAGE_WARNING,
- _("There can only be one active wheel "
- "controller.\n\n"
- "You already have a wheel controller in "
- "your list of active controllers."));
+ G_OBJECT (button), GIMP_MESSAGE_WARNING,
+ _("There can only be one active wheel "
+ "controller.\n\n"
+ "You already have a wheel controller in "
+ "your list of active controllers."));
return;
}
else if (list->src_gtype == GIMP_TYPE_CONTROLLER_MOUSE &&
gimp_controllers_get_mouse (list->gimp) != NULL)
{
gimp_message_literal (list->gimp,
- G_OBJECT (button), GIMP_MESSAGE_WARNING,
- _("There can only be one active mouse "
- "controller.\n\n"
- "You already have a mouse controller in "
- "your list of active controllers."));
+ G_OBJECT (button), GIMP_MESSAGE_WARNING,
+ _("There can only be one active mouse "
+ "controller.\n\n"
+ "You already have a mouse controller in "
+ "your list of active controllers."));
return;
}
diff --git a/app/widgets/gimpcontrollers.c b/app/widgets/gimpcontrollers.c
index 8c5877f..9d6a198 100644
--- a/app/widgets/gimpcontrollers.c
+++ b/app/widgets/gimpcontrollers.c
@@ -163,7 +163,7 @@ gimp_controllers_restore (Gimp *gimp,
filename, NULL, &error))
{
gimp_message_literal (gimp, NULL, GIMP_MESSAGE_ERROR,
- error->message);
+ error->message);
}
}
else
diff --git a/app/widgets/gimpdataeditor.c b/app/widgets/gimpdataeditor.c
index 50dc510..6d8521c 100644
--- a/app/widgets/gimpdataeditor.c
+++ b/app/widgets/gimpdataeditor.c
@@ -640,8 +640,8 @@ gimp_data_editor_save_dirty (GimpDataEditor *editor)
{
gimp_message_literal (gimp_data_factory_get_gimp (editor->data_factory),
G_OBJECT (editor),
- GIMP_MESSAGE_ERROR,
- error->message);
+ GIMP_MESSAGE_ERROR,
+ error->message);
g_clear_error (&error);
}
}
diff --git a/app/widgets/gimpdnd-xds.c b/app/widgets/gimpdnd-xds.c
index 5c65d14..153e2d2 100644
--- a/app/widgets/gimpdnd-xds.c
+++ b/app/widgets/gimpdnd-xds.c
@@ -201,8 +201,8 @@ gimp_dnd_xds_save_image (GdkDragContext *context,
8, (const guchar *) "E", 1);
gimp_message_literal (image->gimp, NULL, GIMP_MESSAGE_ERROR,
- _("The given filename does not have any known "
- "file extension."));
+ _("The given filename does not have any known "
+ "file extension."));
}
g_free (uri);
diff --git a/app/widgets/gimphelp.c b/app/widgets/gimphelp.c
index adda30f..5d9e341 100644
--- a/app/widgets/gimphelp.c
+++ b/app/widgets/gimphelp.c
@@ -327,7 +327,7 @@ gimp_help_browser (Gimp *gimp,
if (error)
{
gimp_message_literal (gimp, G_OBJECT (progress), GIMP_MESSAGE_ERROR,
- error->message);
+ error->message);
g_error_free (error);
}
}
diff --git a/app/widgets/gimpitemtreeview.c b/app/widgets/gimpitemtreeview.c
index e1a8199..ce55482 100644
--- a/app/widgets/gimpitemtreeview.c
+++ b/app/widgets/gimpitemtreeview.c
@@ -1280,8 +1280,8 @@ gimp_item_tree_view_name_edited (GtkCellRendererText *cell,
if (error)
{
gimp_message_literal (view->priv->image->gimp, G_OBJECT (view),
- GIMP_MESSAGE_WARNING,
- error->message);
+ GIMP_MESSAGE_WARNING,
+ error->message);
g_clear_error (&error);
}
}
diff --git a/app/widgets/gimppdbdialog.c b/app/widgets/gimppdbdialog.c
index 7250d3c..c7c93cf 100644
--- a/app/widgets/gimppdbdialog.c
+++ b/app/widgets/gimppdbdialog.c
@@ -338,8 +338,8 @@ gimp_pdb_dialog_run_callback (GimpPdbDialog *dialog,
else if (error)
{
gimp_message_literal (dialog->context->gimp, G_OBJECT (dialog),
- GIMP_MESSAGE_ERROR,
- error->message);
+ GIMP_MESSAGE_ERROR,
+ error->message);
g_error_free (error);
}
diff --git a/app/widgets/gimpsettingsbox.c b/app/widgets/gimpsettingsbox.c
index 7768f53..71e56cc 100644
--- a/app/widgets/gimpsettingsbox.c
+++ b/app/widgets/gimpsettingsbox.c
@@ -489,7 +489,7 @@ gimp_settings_box_deserialize (GimpSettingsBox *box)
{
if (error->code != GIMP_CONFIG_ERROR_OPEN_ENOENT)
gimp_message_literal (private->gimp, NULL, GIMP_MESSAGE_ERROR,
- error->message);
+ error->message);
g_clear_error (&error);
}
@@ -515,7 +515,7 @@ gimp_settings_box_serialize (GimpSettingsBox *box)
NULL, &error))
{
gimp_message_literal (private->gimp, NULL, GIMP_MESSAGE_ERROR,
- error->message);
+ error->message);
g_clear_error (&error);
}
diff --git a/app/widgets/gimpthumbbox.c b/app/widgets/gimpthumbbox.c
index df9ec11..f6d9e16 100644
--- a/app/widgets/gimpthumbbox.c
+++ b/app/widgets/gimpthumbbox.c
@@ -700,8 +700,8 @@ gimp_thumb_box_create_thumbnail (GimpThumbBox *box,
size, ! force, &error))
{
gimp_message_literal (box->context->gimp,
- G_OBJECT (progress), GIMP_MESSAGE_ERROR,
- error->message);
+ G_OBJECT (progress), GIMP_MESSAGE_ERROR,
+ error->message);
g_clear_error (&error);
}
}
diff --git a/app/widgets/gimpvectorstreeview.c b/app/widgets/gimpvectorstreeview.c
index 70c2b7b..7b5a7c1 100644
--- a/app/widgets/gimpvectorstreeview.c
+++ b/app/widgets/gimpvectorstreeview.c
@@ -236,8 +236,8 @@ gimp_vectors_tree_view_drop_svg (GimpContainerTreeView *tree_view,
TRUE, FALSE, parent, index, NULL, &error))
{
gimp_message_literal (image->gimp,
- G_OBJECT (tree_view), GIMP_MESSAGE_ERROR,
- error->message);
+ G_OBJECT (tree_view), GIMP_MESSAGE_ERROR,
+ error->message);
g_clear_error (&error);
}
else
diff --git a/app/xcf/xcf-load.c b/app/xcf/xcf-load.c
index a4adf50..6c7ebee 100644
--- a/app/xcf/xcf-load.c
+++ b/app/xcf/xcf-load.c
@@ -366,8 +366,8 @@ xcf_load_image (Gimp *gimp,
goto hard_error;
gimp_message_literal (gimp, G_OBJECT (info->progress), GIMP_MESSAGE_WARNING,
- _("This XCF file is corrupt! I have loaded as much "
- "of it as I can, but it is incomplete."));
+ _("This XCF file is corrupt! I have loaded as much "
+ "of it as I can, but it is incomplete."));
xcf_load_add_masks (image);
@@ -377,8 +377,8 @@ xcf_load_image (Gimp *gimp,
hard_error:
g_set_error_literal (error, G_FILE_ERROR, G_FILE_ERROR_FAILED,
- _("This XCF file is corrupt! I could not even "
- "salvage any partial image data from it."));
+ _("This XCF file is corrupt! I could not even "
+ "salvage any partial image data from it."));
if (image)
g_object_unref (image);
@@ -459,7 +459,7 @@ xcf_load_image_props (XcfInfo *info,
gimp_message (info->gimp, G_OBJECT (info->progress),
GIMP_MESSAGE_ERROR,
"Maximum colormap size (%d) exceeded",
- GIMP_IMAGE_COLORMAP_SIZE);
+ GIMP_IMAGE_COLORMAP_SIZE);
return FALSE;
}
@@ -468,10 +468,10 @@ xcf_load_image_props (XcfInfo *info,
gint i;
gimp_message_literal (info->gimp, G_OBJECT (info->progress),
- GIMP_MESSAGE_WARNING,
- _("XCF warning: version 0 of XCF file format\n"
- "did not save indexed colormaps correctly.\n"
- "Substituting grayscale map."));
+ GIMP_MESSAGE_WARNING,
+ _("XCF warning: version 0 of XCF file format\n"
+ "did not save indexed colormaps correctly.\n"
+ "Substituting grayscale map."));
if (! xcf_seek_pos (info, info->cp + n_colors, NULL))
return FALSE;
@@ -550,8 +550,8 @@ xcf_load_image_props (XcfInfo *info,
default:
gimp_message_literal (info->gimp, G_OBJECT (info->progress),
- GIMP_MESSAGE_WARNING,
- "Guide orientation out of range in XCF file");
+ GIMP_MESSAGE_WARNING,
+ "Guide orientation out of range in XCF file");
continue;
}
}
@@ -593,8 +593,8 @@ xcf_load_image_props (XcfInfo *info,
GimpTemplate *template = image->gimp->config->default_image;
gimp_message_literal (info->gimp, G_OBJECT (info->progress),
- GIMP_MESSAGE_WARNING,
- "Warning, resolution out of range in XCF file");
+ GIMP_MESSAGE_WARNING,
+ "Warning, resolution out of range in XCF file");
xres = gimp_template_get_resolution_x (template);
yres = gimp_template_get_resolution_y (template);
}
@@ -626,8 +626,8 @@ xcf_load_image_props (XcfInfo *info,
if (info->cp - base != prop_size)
gimp_message_literal (info->gimp, G_OBJECT (info->progress),
- GIMP_MESSAGE_WARNING,
- "Error while loading an image's parasites");
+ GIMP_MESSAGE_WARNING,
+ "Error while loading an image's parasites");
}
break;
@@ -641,9 +641,9 @@ xcf_load_image_props (XcfInfo *info,
(unit >= gimp_unit_get_number_of_built_in_units ()))
{
gimp_message_literal (info->gimp, G_OBJECT (info->progress),
- GIMP_MESSAGE_WARNING,
- "Warning, unit out of range in XCF file, "
- "falling back to inches");
+ GIMP_MESSAGE_WARNING,
+ "Warning, unit out of range in XCF file, "
+ "falling back to inches");
unit = GIMP_UNIT_INCH;
}
@@ -899,8 +899,8 @@ xcf_load_layer_props (XcfInfo *info,
if (info->cp - base != prop_size)
gimp_message_literal (info->gimp, G_OBJECT (info->progress),
- GIMP_MESSAGE_WARNING,
- "Error while loading a layer's parasites");
+ GIMP_MESSAGE_WARNING,
+ "Error while loading a layer's parasites");
}
break;
@@ -1095,8 +1095,8 @@ xcf_load_channel_props (XcfInfo *info,
if (info->cp - base != prop_size)
gimp_message_literal (info->gimp, G_OBJECT (info->progress),
- GIMP_MESSAGE_WARNING,
- "Error while loading a channel's parasites");
+ GIMP_MESSAGE_WARNING,
+ "Error while loading a channel's parasites");
}
break;
@@ -1533,8 +1533,8 @@ xcf_load_level (XcfInfo *info,
if (offset == 0)
{
gimp_message_literal (info->gimp, G_OBJECT (info->progress),
- GIMP_MESSAGE_ERROR,
- "not enough tiles found in level");
+ GIMP_MESSAGE_ERROR,
+ "not enough tiles found in level");
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]