diff options
author | 2013-08-04 19:33:23 +0200 | |
---|---|---|
committer | 2013-08-04 19:33:23 +0200 | |
commit | 8c35b4124c5d1bb6d413b5ea672132c3ff69edad (patch) | |
tree | 1d0c95402eb1efedca45db00b3fd15ffcf85b3dc /plugins/gtkui/actionhandlers.c | |
parent | aa7b6ad5b0e94004a0e27007fcdf807baa34bce0 (diff) |
gtkui: warn a user when he attempts to quit while background jobs are running
Diffstat (limited to 'plugins/gtkui/actionhandlers.c')
-rw-r--r-- | plugins/gtkui/actionhandlers.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/gtkui/actionhandlers.c b/plugins/gtkui/actionhandlers.c index 1ca56aa0..b7e05f39 100644 --- a/plugins/gtkui/actionhandlers.c +++ b/plugins/gtkui/actionhandlers.c @@ -260,8 +260,7 @@ action_add_folders_handler (struct DB_plugin_action_s *action, int ctx) { gboolean action_quit_handler_cb (void *user_data) { - progress_abort (); - deadbeef->sendmessage (DB_EV_TERMINATE, 0, 0, 0); + gtkui_quit (); return FALSE; } |