diff options
author | James Booth <boothj5@gmail.com> | 2013-05-19 03:45:27 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-05-19 03:45:27 +0100 |
commit | db6e7f569751fc2dccff5ce31ad0bd4b3814376a (patch) | |
tree | 3765a8857e5135a07c94f7f8260ca481ea87f898 /src/ui/titlebar.c | |
parent | 1c41a46dce86eefdfcc8eb66ac1d272c3166dc7a (diff) | |
download | profani-tty-db6e7f569751fc2dccff5ce31ad0bd4b3814376a.tar.gz |
Show contacts handle as window title in chat
Diffstat (limited to 'src/ui/titlebar.c')
-rw-r--r-- | src/ui/titlebar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/titlebar.c b/src/ui/titlebar.c index c786c774..4b3ca997 100644 --- a/src/ui/titlebar.c +++ b/src/ui/titlebar.c @@ -29,7 +29,7 @@ static WINDOW *title_bar; static char *current_title = NULL; -static char *recipient = NULL; +static const char *recipient = NULL; static GTimer *typing_elapsed; static int dirty; static contact_presence_t current_status; @@ -126,7 +126,7 @@ title_bar_set_status(contact_presence_t status) } void -title_bar_set_recipient(char *from) +title_bar_set_recipient(const char * const from) { if (typing_elapsed != NULL) { g_timer_destroy(typing_elapsed); |