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:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user