[gimp] core: bail out of gimp_exit if exit was cancelled by user
- From: Kristian Rietveld <kristian src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] core: bail out of gimp_exit if exit was cancelled by user
- Date: Sat, 16 Apr 2016 13:21:37 +0000 (UTC)
commit ca9365f2b58a26244f885b4f84a02770cb65e65f
Author: Kristian Rietveld <kris loopnest org>
Date: Sat Apr 16 14:20:43 2016 +0100
core: bail out of gimp_exit if exit was cancelled by user
app/core/gimp.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/app/core/gimp.c b/app/core/gimp.c
index 8f089b9..48cfce4 100644
--- a/app/core/gimp.c
+++ b/app/core/gimp.c
@@ -1212,6 +1212,9 @@ gimp_exit (Gimp *gimp,
force ? TRUE : FALSE,
&handled);
+ if (handled)
+ return;
+
/* Get rid of images without display. We do this *after* handling the
* usual exit callbacks, because the things that are torn down there
* might have references to these images (for instance GimpActions
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]