mirror of https://github.com/GNOME/gimp.git
Bug 564869 – GIMP crashes on selecting Tools->GEGL operation
2008-12-21 Sven Neumann <sven@gimp.org> Bug 564869 – GIMP crashes on selecting Tools->GEGL operation * app/tools/gimptool.c (gimp_tool_initialize): check if the tool has set an error. svn path=/trunk/; revision=27819
This commit is contained in:
parent
5700bd6003
commit
6b74d79844
|
@ -1,3 +1,10 @@
|
|||
2008-12-21 Sven Neumann <sven@gimp.org>
|
||||
|
||||
Bug 564869 – GIMP crashes on selecting Tools->GEGL operation
|
||||
|
||||
* app/tools/gimptool.c (gimp_tool_initialize): check if the tool
|
||||
has set an error.
|
||||
|
||||
2008-12-21 Sven Neumann <sven@gimp.org>
|
||||
|
||||
Bug 565138 – python-fu-foggify does not check if image is in rgb mode
|
||||
|
|
|
@ -446,8 +446,12 @@ gimp_tool_initialize (GimpTool *tool,
|
|||
|
||||
if (! GIMP_TOOL_GET_CLASS (tool)->initialize (tool, display, &error))
|
||||
{
|
||||
gimp_tool_message_literal (tool, display, error->message);
|
||||
g_clear_error (&error);
|
||||
if (error)
|
||||
{
|
||||
gimp_tool_message_literal (tool, display, error->message);
|
||||
g_clear_error (&error);
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue