1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Renamed clear and close functions in ui

This commit is contained in:
James Booth 2013-04-21 17:35:57 +01:00
parent 4257fc87e5
commit 345c21bbce
3 changed files with 6 additions and 6 deletions

View File

@ -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;
}

View File

@ -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;

View File

@ -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);