about summary refs log tree commit diff stats
path: root/src/ui/titlebar.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-05-19 03:45:27 +0100
committerJames Booth <boothj5@gmail.com>2013-05-19 03:45:27 +0100
commitdb6e7f569751fc2dccff5ce31ad0bd4b3814376a (patch)
tree3765a8857e5135a07c94f7f8260ca481ea87f898 /src/ui/titlebar.c
parent1c41a46dce86eefdfcc8eb66ac1d272c3166dc7a (diff)
downloadprofani-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.c4
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);