Commit c7aa623a authored by Jehan's avatar Jehan

app: clean out a big bunch of leading tabs.

For some unknown reason, most calls to gimp_message_literal() were
indented with tabs.
parent b7462309
......@@ -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);
}
}
......
......@@ -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;
}
......
......@@ -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);
}
}
......@@ -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;
}
......
......@@ -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)
{
......
......@@ -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;
}
......
......@@ -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;
}
......
......@@ -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;
}
......
......@@ -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;
}
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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));
......
......@@ -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)
......
......@@ -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);
}
}
......
......@@ -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;
}
......
......@@ -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
......
......@@ -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);
......
......@@ -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);
}
}
......
......@@ -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);
}
}
......
......@@ -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;
......
......@@ -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);
}
}
......
......@@ -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;
}
......
......@@ -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);
}
......
......@@ -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);
......
......@@ -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;
......
......@@ -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
......
......@@ -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."));