From 184700e597f7374146ba0c0ca6932f83d8d6add2 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Fri, 1 Feb 2008 18:56:12 +0100 Subject: New "close callback" for buffers, use of this callback in IRC plugin to leave channel or disconnect from server when buffer is closed --- src/gui/curses/gui-curses-main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gui/curses/gui-curses-main.c') diff --git a/src/gui/curses/gui-curses-main.c b/src/gui/curses/gui-curses-main.c index e0f9e2547..d2230e3dd 100644 --- a/src/gui/curses/gui-curses-main.c +++ b/src/gui/curses/gui-curses-main.c @@ -102,7 +102,9 @@ gui_main_init () if (gui_window_new (NULL, 0, 0, COLS, LINES, 100, 100)) { gui_current_window = gui_windows; - ptr_buffer = gui_buffer_new (NULL, "weechat", "weechat", NULL, NULL); + ptr_buffer = gui_buffer_new (NULL, "weechat", "weechat", + NULL, NULL, + NULL, NULL); if (ptr_buffer) { gui_init_ok = 1; -- cgit v1.2.3