summaryrefslogtreecommitdiff
path: root/src/fe-text/irssi.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-12-05 00:53:04 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-12-05 00:53:04 +0000
commitd1eaeca255025c38f70e9542ec141a5713496142 (patch)
treece543f56b2b07b79f44fd2c2b0c2613137e7e533 /src/fe-text/irssi.c
parent5f941b8fa6442b7c0992561e56eb7dcd7a18046b (diff)
downloadirssi-d1eaeca255025c38f70e9542ec141a5713496142.zip
Split expandos from special-vars.c to expandos.c. Added list of signals
to each expando that can might change it's value. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@964 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/irssi.c')
-rw-r--r--src/fe-text/irssi.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/fe-text/irssi.c b/src/fe-text/irssi.c
index eb151ae7..dd567f28 100644
--- a/src/fe-text/irssi.c
+++ b/src/fe-text/irssi.c
@@ -35,9 +35,7 @@
#include "mainwindows.h"
#include "gui-printtext.h"
#include "gui-readline.h"
-#include "gui-special-vars.h"
#include "statusbar.h"
-#include "gui-textwidget.h"
#include "gui-windows.h"
#include <signal.h>
@@ -50,6 +48,12 @@ void perl_deinit(void);
void irc_init(void);
void irc_deinit(void);
+void gui_expandos_init(void);
+void gui_expandos_deinit(void);
+
+void gui_textwidget_init(void);
+void gui_textwidget_deinit(void);
+
void mainwindow_activity_init(void);
void mainwindow_activity_deinit(void);
@@ -111,9 +115,9 @@ static void textui_finish_init(void)
screen_refresh_freeze();
gui_entry_init();
+ gui_expandos_init();
gui_printtext_init();
gui_readline_init();
- gui_special_vars_init();
gui_textwidget_init();
mainwindows_init();
mainwindow_activity_init();
@@ -146,13 +150,13 @@ static void textui_deinit(void)
signal_remove("gui exit", (SIGNAL_FUNC) sig_exit);
gui_textwidget_deinit();
- gui_special_vars_deinit();
statusbar_deinit();
gui_printtext_deinit();
gui_readline_deinit();
gui_windows_deinit();
mainwindow_activity_deinit();
mainwindows_deinit();
+ gui_expandos_deinit();
gui_entry_deinit();
deinit_screen();