1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Added ifdef to _show_privacy() function

This commit is contained in:
James Booth 2014-12-01 21:54:32 +00:00
parent fe021a226c
commit 0a3365d297

View File

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