Commit [458f4f] Maximize Restore History

Don't warn when trying to close a document when none are open

When using the document close keybinding, it is legitimate for the
callback to be called even if there are no documents open, so properly
check for this.

Closes [bugs:#941]

Colomban Wendling Colomban Wendling 2013-07-21

changed src
changed src/callbacks.c
src/callbacks.c Diff Switch to side-by-side view