don't try to add a NULL config to the recent settings menu.

2008-02-05  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpimagemaptool.c (gimp_image_map_tool_response): don't
	try to add a NULL config to the recent settings menu.


svn path=/trunk/; revision=24801
This commit is contained in:
Michael Natterer
2008-02-05 02:00:50 +00:00
committed by Michael Natterer
parent dbadd4c50e
commit 0b4a8e2ead
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-02-05 Michael Natterer <mitch@gimp.org>
* app/tools/gimpimagemaptool.c (gimp_image_map_tool_response): don't
try to add a NULL config to the recent settings menu.
2008-02-05 Michael Natterer <mitch@gimp.org>
* themes/Default/images/Makefile.am

View File

@ -714,7 +714,8 @@ gimp_image_map_tool_response (GtkWidget *widget,
gimp_image_flush (tool->display->image);
gimp_image_map_tool_add_recent (image_map_tool);
if (image_map_tool->config)
gimp_image_map_tool_add_recent (image_map_tool);
}
tool->display = NULL;