about summary refs log tree commit diff stats
path: root/src/ui/titlebar.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-01-16 18:32:24 +0000
committerJames Booth <boothj5@gmail.com>2014-01-16 18:32:24 +0000
commitc32caa62e012dd449a65688b2e7c1bf786fe4b75 (patch)
tree98dbb2b8ac6f811c88fa70dd54770d00d4b728ef /src/ui/titlebar.c
parent16bf753ad0f06a324be85cb88471a36bcb2c59e2 (diff)
downloadprofani-tty-c32caa62e012dd449a65688b2e7c1bf786fe4b75.tar.gz
Removed title_bar_show from UI module
Diffstat (limited to 'src/ui/titlebar.c')
-rw-r--r--src/ui/titlebar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/titlebar.c b/src/ui/titlebar.c
index 40e59a1c..6c40f45a 100644
--- a/src/ui/titlebar.c
+++ b/src/ui/titlebar.c
@@ -35,6 +35,7 @@ static GTimer *typing_elapsed;
 
 static contact_presence_t current_presence;
 
+static void _title_bar_show(const char * const title);
 static void _title_bar_draw_title(void);
 static void _title_bar_draw_presence(void);
 
@@ -57,7 +58,7 @@ _title_bar_console(void)
     werase(win);
     recipient = NULL;
     typing_elapsed = NULL;
-    title_bar_show("Profanity. Type /help for help information.");
+    _title_bar_show("Profanity. Type /help for help information.");
     _title_bar_draw_presence();
     wrefresh(win);
     inp_put_back();
@@ -239,7 +240,6 @@ titlebar_init_module(void)
     title_bar_console = _title_bar_console;
     title_bar_resize = _title_bar_resize;
     title_bar_refresh = _title_bar_refresh;
-    title_bar_show = _title_bar_show;
     title_bar_set_presence = _title_bar_set_presence;
     title_bar_set_recipient = _title_bar_set_recipient;
     title_bar_set_typing = _title_bar_set_typing;