From 345c21bbce2596591118ccd459c3104d49557ba0 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 21 Apr 2013 17:35:57 +0100 Subject: [PATCH] Renamed clear and close functions in ui --- src/command/command.c | 4 ++-- src/ui/core.c | 4 ++-- src/ui/ui.h | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/command/command.c b/src/command/command.c index d0f13c8b..1775de2a 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -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; } diff --git a/src/ui/core.c b/src/ui/core.c index 719c8a24..846ba5d1 100644 --- a/src/ui/core.c +++ b/src/ui/core.c @@ -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; diff --git a/src/ui/ui.h b/src/ui/ui.h index e1ecb83b..937ab566 100644 --- a/src/ui/ui.h +++ b/src/ui/ui.h @@ -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);