]> git.tdb.fi Git - ext/subsurface.git/commit
Show the "save changes" dialog before the main window is destroyed
authorDirk Hohndel <dirk@hohndel.org>
Wed, 21 Sep 2011 17:31:03 +0000 (10:31 -0700)
committerDirk Hohndel <dirk@hohndel.org>
Wed, 21 Sep 2011 18:29:13 +0000 (11:29 -0700)
commit8a8ad3f9978c47d9ba10085236e6e6722949b5e2
tree9df7a0308939c9cd4cc8777a98ef8082b2409f3a
parent740e7119cdaa0915280ba3b83c87300ce07560c9
Show the "save changes" dialog before the main window is destroyed

By using the delete-event callback instead of the destroy callback we are
able to display our dialog (and the file-save dialog) while the program
window is still being displayed. Much nicer this way.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
gtk-gui.c