1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 23:06:38 +02:00

core: remove unused function gui_window_clear_weechat (issue #1012)

This commit is contained in:
Sébastien Helleu
2017-06-10 15:03:06 +02:00
parent f2d250a78f
commit 8c8a0c0826
-16
View File
@@ -169,22 +169,6 @@ gui_window_objects_free (struct t_gui_window *window, int free_separators)
}
}
/*
* Clears a Curses window with a WeeChat color.
*/
void
gui_window_clear_weechat (WINDOW *window, int weechat_color)
{
if (!gui_init_ok)
return;
wbkgdset (window, ' ' | COLOR_PAIR (gui_color_weechat_get_pair (weechat_color)) |
gui_color[weechat_color]->attributes);
werase (window);
wmove (window, 0, 0);
}
/*
* Clears a Curses window.
*/