diff options
author | Timo Sirainen <cras@irssi.org> | 2001-12-03 13:06:31 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-12-03 13:06:31 +0000 |
commit | 1eeb5cf362e3beb958ccc9e543dce0d3943739a5 (patch) | |
tree | ae9e49fad0021f79940d6cf22de34c22b60dc42c /src/fe-text | |
parent | 294c94573af6a5a0accea239d4fba777a4d9c9b8 (diff) | |
download | irssi-1eeb5cf362e3beb958ccc9e543dce0d3943739a5.zip |
add the "gui exit" with signal_add_last() so it can be aborted while still running the other "gui exit" hooks.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2179 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text')
-rw-r--r-- | src/fe-text/irssi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/irssi.c b/src/fe-text/irssi.c index 6a7ae2c0..4b2ed8d8 100644 --- a/src/fe-text/irssi.c +++ b/src/fe-text/irssi.c @@ -140,7 +140,7 @@ static void textui_init(void) fe_common_irc_init(); theme_register(gui_text_formats); - signal_add("gui exit", (SIGNAL_FUNC) sig_exit); + signal_add_last("gui exit", (SIGNAL_FUNC) sig_exit); } static void textui_finish_init(void) |