1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-29 19:56:07 -04:00

Removed title_bar_show from UI module

This commit is contained in:
James Booth 2014-01-16 18:32:24 +00:00
parent 16bf753ad0
commit c32caa62e0
2 changed files with 2 additions and 3 deletions

View File

@ -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;

View File

@ -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);