reverted my last change; will have to address this differently.

2006-12-07  Sven Neumann  <sven@gimp.org>

	* app/tools/gimp-tools.c (gimp_tools_save): reverted my last change;
	will have to address this differently.
This commit is contained in:
Sven Neumann 2006-12-07 09:48:40 +00:00 committed by Sven Neumann
parent 694b525712
commit e5893265b1
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2006-12-07 Sven Neumann <sven@gimp.org>
* app/tools/gimp-tools.c (gimp_tools_save): reverted my last change;
will have to address this differently.
2006-12-06 Sven Neumann <sven@gimp.org>
* app/tools/gimp-tools.c (gimp_tools_save): only write a .presets

View File

@ -378,8 +378,7 @@ gimp_tools_save (Gimp *gimp,
if (save_tool_options && (! tool_options_deleted || always_save))
gimp_tool_options_serialize (tool_info->tool_options, NULL, NULL);
if (tool_info->options_presets &&
gimp_container_num_children (tool_info->options_presets) > 0)
if (tool_info->options_presets)
{
gchar *header;
gchar *footer;