added a call to by_color_select_close_callback() in _tool_destroy() to

2001-06-01  Dave Neary  <dneary@eircom.net>

	* app/tools/gimpbycolorselecttool.c: added a call to
        by_color_select_close_callback() in _tool_destroy() to close
        the dialog on exiting the tool.
This commit is contained in:
Dave Neary
2001-06-01 13:45:30 +00:00
committed by David Neary
parent 109abaeed4
commit e153dd1b6a
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2001-06-01 Dave Neary <dneary@eircom.net>
* app/tools/gimpbycolorselecttool.c: added a call to
by_color_select_close_callback() in _tool_destroy() to close
the dialog on exiting the tool.
2001-05-31 Dave Neary <dneary@eircom.net>
* app/core/gimpimage.[ch]

View File

@ -327,6 +327,9 @@ gimp_by_color_select_tool_destroy (GtkObject *object)
{
if (GTK_OBJECT_CLASS (parent_class)->destroy)
GTK_OBJECT_CLASS (parent_class)->destroy (object);
if (by_color_dialog)
by_color_select_close_callback(NULL, (gpointer) by_color_dialog);
}
/* by_color selection machinery */