about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/ui/titlebar.c4
-rw-r--r--src/ui/ui.h1
2 files changed, 2 insertions, 3 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;
diff --git a/src/ui/ui.h b/src/ui/ui.h
index cd7322a6..1ab0f3e7 100644
--- a/src/ui/ui.h
+++ b/src/ui/ui.h
@@ -154,7 +154,6 @@ void (*create_input_window)(void);
 // title bar actions
 void (*title_bar_refresh)(void);
 void (*title_bar_resize)(void);
-void (*title_bar_show)(const char * const title);
 void (*title_bar_console)(void);
 void (*title_bar_set_presence)(contact_presence_t presence);
 void (*title_bar_set_recipient)(const char * const from);