about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-10-26 20:37:50 +0000
committerJames Booth <boothj5@gmail.com>2015-10-26 20:37:50 +0000
commitd8fc7faa368238b0d912de195974454a534a99df (patch)
tree69e8cb963fbe1a17b48cb1d9ea290f01e1e3659f
parent523d92e950f3eecb700dd2495c423cce3bfd0939 (diff)
downloadprofani-tty-d8fc7faa368238b0d912de195974454a534a99df.tar.gz
Removed ui_about() function
-rw-r--r--src/command/commands.c3
-rw-r--r--src/ui/core.c7
-rw-r--r--src/ui/ui.h1
-rw-r--r--tests/unittests/ui/stub_ui.c1
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)