From 0a3365d297eeff60026ea5565a557a317a787c6a Mon Sep 17 00:00:00 2001 From: James Booth Date: Mon, 1 Dec 2014 21:54:32 +0000 Subject: [PATCH] Added ifdef to _show_privacy() function --- src/ui/titlebar.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 +}