diff options
author | James Booth <boothj5@gmail.com> | 2014-12-01 22:14:09 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-12-01 22:14:09 +0000 |
commit | b704fb17777e647d58b4b97fcf1796d13509d8c5 (patch) | |
tree | e5218411e65e8d888fa211d9744307811de422c0 /src/ui/titlebar.c | |
parent | bca36bfcbf965adf57fa3fdb266c8d709508475b (diff) | |
parent | 0a3365d297eeff60026ea5565a557a317a787c6a (diff) | |
download | profani-tty-b704fb17777e647d58b4b97fcf1796d13509d8c5.tar.gz |
Merge remote-tracking branch 'origin/ctrl-w' into ctrl-w
Diffstat (limited to 'src/ui/titlebar.c')
-rw-r--r-- | src/ui/titlebar.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ui/titlebar.c b/src/ui/titlebar.c index 05db5550..9eb82aea 100644 --- a/src/ui/titlebar.c +++ b/src/ui/titlebar.c @@ -60,7 +60,9 @@ static GTimer *typing_elapsed; static void _title_bar_draw(void); static void _show_contact_presence(void); static void _show_self_presence(void); +#ifdef HAVE_LIBOTR static void _show_privacy(void); +#endif void create_title_bar(void) @@ -259,6 +261,7 @@ _show_self_presence(void) wattroff(win, bracket_attrs); } +#ifdef HAVE_LIBOTR static void _show_privacy(void) { @@ -320,6 +323,7 @@ _show_privacy(void) } } } +#endif static void _show_contact_presence(void) @@ -363,4 +367,4 @@ _show_contact_presence(void) wprintw(win, "]"); wattroff(win, bracket_attrs); } -} \ No newline at end of file +} |