Commit db735c4c authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

eek, delete the data only if "OK" was pressed.

2004-05-21  Michael Natterer  <mitch@gimp.org>

	* app/actions/data-commands.c (data_delete_callback): eek, delete
	the data only if "OK" was pressed.
parent d4a163eb
2004-05-21 Michael Natterer <mitch@gimp.org>
* app/actions/data-commands.c (data_delete_callback): eek, delete
the data only if "OK" was pressed.
2004-05-21 Michael Natterer <mitch@gimp.org>
* app/widgets/gimperrorconsole.c
......
......@@ -134,8 +134,8 @@ data_delete_callback (GtkWidget *widget,
{
GimpDataDeleteData *delete_data = data;
if (gimp_container_have (delete_data->factory->container,
GIMP_OBJECT (delete_data->data)))
if (delete && gimp_container_have (delete_data->factory->container,
GIMP_OBJECT (delete_data->data)))
{
g_object_ref (delete_data->data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment