mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Removed ui_close_current
This commit is contained in:
parent
1c71cf0037
commit
bda98a416e
@ -1123,17 +1123,6 @@ _ui_clear_current(void)
|
||||
wins_clear_current();
|
||||
}
|
||||
|
||||
static void
|
||||
_ui_close_current(void)
|
||||
{
|
||||
int current_index = wins_get_current_num();
|
||||
status_bar_inactive(current_index);
|
||||
wins_close_current();
|
||||
title_bar_console();
|
||||
status_bar_current(1);
|
||||
status_bar_active(1);
|
||||
}
|
||||
|
||||
static void
|
||||
_ui_close_win(int index)
|
||||
{
|
||||
@ -3090,7 +3079,6 @@ ui_init_module(void)
|
||||
ui_next_win = _ui_next_win;
|
||||
ui_previous_win = _ui_previous_win;
|
||||
ui_clear_current = _ui_clear_current;
|
||||
ui_close_current = _ui_close_current;
|
||||
ui_close_win = _ui_close_win;
|
||||
ui_tidy_wins = _ui_tidy_wins;
|
||||
ui_prune_wins = _ui_prune_wins;
|
||||
|
@ -101,7 +101,6 @@ int (*ui_close_all_wins)(void);
|
||||
int (*ui_close_read_wins)(void);
|
||||
|
||||
// current window actions
|
||||
void (*ui_close_current)(void);
|
||||
void (*ui_clear_current)(void);
|
||||
win_type_t (*ui_current_win_type)(void);
|
||||
int (*ui_current_win_index)(void);
|
||||
|
Loading…
Reference in New Issue
Block a user