]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commit
Revamp GTK's session close handling using toplevel callbacks.
authorSimon Tatham <anakin@pobox.com>
Sat, 17 Aug 2013 16:06:22 +0000 (16:06 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 17 Aug 2013 16:06:22 +0000 (16:06 +0000)
commitbf20b38b686ddc3c874e6c035963c73c4885b140
tree7b02cb021077f71d9bac015752e9449d82fbebf7
parent18f26b7b2f34f9b090c14d1eb81c95402d3be5ab
Revamp GTK's session close handling using toplevel callbacks.

Instead of having a special GTK idle function for dealing with session
closing, I now use the new top-level callback mechanism which is
slightly simpler for calling a one-off function.

Also in this commit, I've arranged for connection_fatal to queue a
call to the same session close function after displaying the message
box, with the effect that now all the same processing takes place no
matter whether the session closes cleanly or uncleanly - e.g. the SSH
specials submenu is cleaned out, as it should be.

git-svn-id: http://svn.tartarus.org/sgt/putty@10022 cda61777-01e9-0310-a592-d414129be87e
unix/gtkwin.c