Do not report incorrect value for GeanyDocument:changed when quitting
commit5f386751141a38efc6a64508afec92c9a82b6c06
authorJason Cumbie <>
Sun, 13 May 2018 15:48:32 +0000 (13 08:48 -0700)
committerColomban Wendling <ban@herbesfolles.org>
Wed, 12 Dec 2018 19:15:53 +0000 (12 20:15 +0100)
tree669814f9ba57a58e66cf40dda03e8ca5aeaeaaee
parent5c428b912b83e26f24d9924a3ad74920ac55fead
Do not report incorrect value for GeanyDocument:changed when quitting

Fix document_account_for_unsaved() so it does not alter the `changed`
flag on documents, in order for plugins to have a reliable value there
at all times.

Patch by @chrontec with small additional tidying up.

Closes #1857.
src/document.c
src/libmain.c