From d8fc7faa368238b0d912de195974454a534a99df Mon Sep 17 00:00:00 2001 From: James Booth Date: Mon, 26 Oct 2015 20:37:50 +0000 Subject: Removed ui_about() function --- src/command/commands.c | 3 ++- src/ui/core.c | 7 ------- src/ui/ui.h | 1 - tests/unittests/ui/stub_ui.c | 1 - 4 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/command/commands.c b/src/command/commands.c index fcb55a69..6c5fa3ed 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -1019,7 +1019,8 @@ cmd_help(ProfWin *window, const char *const command, gchar **args) gboolean cmd_about(ProfWin *window, const char *const command, gchar **args) { - ui_about(); + cons_show(""); + cons_about(); return TRUE; } diff --git a/src/ui/core.c b/src/ui/core.c index 645ed4eb..8d19f5b4 100644 --- a/src/ui/core.c +++ b/src/ui/core.c @@ -151,13 +151,6 @@ ui_update(void) } } -void -ui_about(void) -{ - cons_show(""); - cons_about(); -} - unsigned long ui_get_idle_time(void) { diff --git a/src/ui/ui.h b/src/ui/ui.h index 16bdfa0b..c7e3a8ee 100644 --- a/src/ui/ui.h +++ b/src/ui/ui.h @@ -230,7 +230,6 @@ void ui_titlebar_presence(contact_presence_t presence); void ui_handle_login_account_success(ProfAccount *account, int secured); void ui_update_presence(const resource_presence_t resource_presence, const char *const message, const char *const show); -void ui_about(void); void ui_statusbar_new(const int win); char* ui_readline(void); diff --git a/tests/unittests/ui/stub_ui.c b/tests/unittests/ui/stub_ui.c index 99fe3007..3e8d532b 100644 --- a/tests/unittests/ui/stub_ui.c +++ b/tests/unittests/ui/stub_ui.c @@ -319,7 +319,6 @@ void ui_titlebar_presence(contact_presence_t presence) {} void ui_handle_login_account_success(ProfAccount *account, int secured) {} void ui_update_presence(const resource_presence_t resource_presence, const char * const message, const char * const show) {} -void ui_about(void) {} void ui_statusbar_new(const int win) {} char* ui_readline(void) -- cgit 1.4.1-2-gfad0