> ```C
/* Returns false when quitting is aborted due to user cancellation */
gboolean main_quit(void)
{
        main_status.quitting = TRUE;
>
        if (! check_no_unsaved()) // if there are some unsaved files
        {
                if (document_account_for_unsaved()) // if saving them was 
successfully dealt with
                {
                        do_main_quit(); // quit!
                        return TRUE;
                }
        }
        /* […] */
>
        // abort quit
        main_status.quitting = FALSE;
        return FALSE;
}


---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1147#issuecomment-234720688

Reply via email to