mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Renamed clear and close functions in ui
This commit is contained in:
parent
4257fc87e5
commit
345c21bbce
@ -2302,7 +2302,7 @@ _cmd_tiny(gchar **args, struct cmd_help_t help)
|
||||
static gboolean
|
||||
_cmd_clear(gchar **args, struct cmd_help_t help)
|
||||
{
|
||||
win_current_clear();
|
||||
ui_clear_current();
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
@ -2338,7 +2338,7 @@ _cmd_close(gchar **args, struct cmd_help_t help)
|
||||
}
|
||||
|
||||
// close the window
|
||||
win_current_close();
|
||||
ui_close_current();
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
@ -513,14 +513,14 @@ ui_switch_win(const int i)
|
||||
}
|
||||
|
||||
void
|
||||
win_current_clear(void)
|
||||
ui_clear_current(void)
|
||||
{
|
||||
wclear(current->win);
|
||||
dirty = TRUE;
|
||||
}
|
||||
|
||||
void
|
||||
win_current_close(void)
|
||||
ui_close_current(void)
|
||||
{
|
||||
window_free(current);
|
||||
windows[current_index] = NULL;
|
||||
|
@ -84,8 +84,8 @@ void title_bar_set_typing(gboolean is_typing);
|
||||
void title_bar_draw(void);
|
||||
|
||||
// current window actions
|
||||
void win_current_close(void);
|
||||
void win_current_clear(void);
|
||||
void ui_close_current(void);
|
||||
void ui_clear_current(void);
|
||||
int win_current_is_console(void);
|
||||
int win_current_is_chat(void);
|
||||
int win_current_is_groupchat(void);
|
||||
|
Loading…
Reference in New Issue
Block a user