Commit 1c60f4e0 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

check for gdisp != NULL to avoid to crash when being called from

2002-12-03  Sven Neumann  <sven@gimp.org>

	* app/tools/tool_manager.c (tool_manager_control_active): check
	for gdisp != NULL to avoid to crash when being called from
	indexed_ok_callback().
parent d88c1181
2002-12-03 Sven Neumann <sven@gimp.org>
* app/tools/tool_manager.c (tool_manager_control_active): check
for gdisp != NULL to avoid to crash when being called from
indexed_ok_callback().
2002-12-03 Sven Neumann <sven@gimp.org>
 
* configure.in: do as the gtk+ folks did and replace the gtk-doc
......
......@@ -313,7 +313,7 @@ tool_manager_control_active (Gimp *gimp,
if (! tool_manager->active_tool)
return;
if (tool_manager->active_tool->gdisp == gdisp)
if (gdisp && tool_manager->active_tool->gdisp == gdisp)
{
gimp_tool_control (tool_manager->active_tool,
action,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment