Commit 44a71328 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

invert logic so everything except GTK_RESPONSE_OK keeps the dock open

2004-12-13  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdock.c (gimp_dock_delete_event): invert logic so
	everything except GTK_RESPONSE_OK keeps the dock open
	(e.g. hitting escape).
parent 31d4c01d
2004-12-13 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpdock.c (gimp_dock_delete_event): invert logic so
everything except GTK_RESPONSE_OK keeps the dock open
(e.g. hitting escape).
2004-12-12 Michael Natterer <mitch@gimp.org>
* app/core/gimpdrawable-preview.c (gimp_drawable_get_sub_preview):
......
......@@ -361,7 +361,7 @@ gimp_dock_delete_event (GtkWidget *widget,
_("This window has %d tabs open. Closing the "
"window will also close all its tabs."), n);
retval = (gimp_dialog_run (GIMP_DIALOG (dialog)) == GTK_RESPONSE_CANCEL);
retval = (gimp_dialog_run (GIMP_DIALOG (dialog)) != GTK_RESPONSE_OK);
gtk_widget_destroy (dialog);
}
......
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