From e5893265b190e8b1d1e83c3d2e04e974ee1f9af1 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Thu, 7 Dec 2006 09:48:40 +0000 Subject: [PATCH] reverted my last change; will have to address this differently. 2006-12-07 Sven Neumann * app/tools/gimp-tools.c (gimp_tools_save): reverted my last change; will have to address this differently. --- ChangeLog | 5 +++++ app/tools/gimp-tools.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 22128c59c6..aac852ca05 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-12-07 Sven Neumann + + * app/tools/gimp-tools.c (gimp_tools_save): reverted my last change; + will have to address this differently. + 2006-12-06 Sven Neumann * app/tools/gimp-tools.c (gimp_tools_save): only write a .presets diff --git a/app/tools/gimp-tools.c b/app/tools/gimp-tools.c index cd155521c5..d4ff182d87 100644 --- a/app/tools/gimp-tools.c +++ b/app/tools/gimp-tools.c @@ -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; -- GitLab