diff options
Diffstat (limited to 'plugins/gtkui/gtkui.c')
-rw-r--r-- | plugins/gtkui/gtkui.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/plugins/gtkui/gtkui.c b/plugins/gtkui/gtkui.c index a3cca159..9d8f6dea 100644 --- a/plugins/gtkui/gtkui.c +++ b/plugins/gtkui/gtkui.c @@ -1178,9 +1178,14 @@ gtkui_quit_cb (void *ctx) { if (response != GTK_RESPONSE_YES) { return FALSE; } + else { + exit (0); + } + } + else { + progress_abort (); + deadbeef->sendmessage (DB_EV_TERMINATE, 0, 0, 0); } - progress_abort (); - deadbeef->sendmessage (DB_EV_TERMINATE, 0, 0, 0); return FALSE; } |