destroy the info dialog instead of hiding it. Fixes session management.

2004-10-01  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpcroptool.c (crop_response): destroy the info
	dialog instead of hiding it. Fixes session management.
This commit is contained in:
Sven Neumann 2004-10-01 12:41:54 +00:00 committed by Sven Neumann
parent ef736c43b4
commit 6e8bb7ac12
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-10-01 Sven Neumann <sven@gimp.org>
* app/tools/gimpcroptool.c (crop_response): destroy the info
dialog instead of hiding it. Fixes session management.
2004-10-01 Sven Neumann <sven@gimp.org>
* app/tools/gimpcroptool.c: unset the highlight from

View File

@ -1143,7 +1143,10 @@ crop_response (GtkWidget *widget,
NULL);
if (crop->crop_info)
info_dialog_hide (crop->crop_info);
{
info_dialog_free (crop->crop_info);
crop->crop_info = NULL;
}
if (gimp_draw_tool_is_active (GIMP_DRAW_TOOL (crop)))
gimp_draw_tool_stop (GIMP_DRAW_TOOL (crop));