core: bail out of gimp_exit if exit was cancelled by user
This commit is contained in:
@ -1212,6 +1212,9 @@ gimp_exit (Gimp *gimp,
|
|||||||
force ? TRUE : FALSE,
|
force ? TRUE : FALSE,
|
||||||
&handled);
|
&handled);
|
||||||
|
|
||||||
|
if (handled)
|
||||||
|
return;
|
||||||
|
|
||||||
/* Get rid of images without display. We do this *after* handling the
|
/* Get rid of images without display. We do this *after* handling the
|
||||||
* usual exit callbacks, because the things that are torn down there
|
* usual exit callbacks, because the things that are torn down there
|
||||||
* might have references to these images (for instance GimpActions
|
* might have references to these images (for instance GimpActions
|
||||||
|
Reference in New Issue
Block a user