Merge branch 'master' into openpgp

This commit is contained in:
James Booth
2015-06-15 23:17:11 +01:00
6 changed files with 164 additions and 110 deletions

View File

@@ -1151,19 +1151,6 @@ ui_current_win_type(void)
return current->type;
}
gboolean
ui_current_win_is_otr(void)
{
ProfWin *current = wins_get_current();
if (current->type == WIN_CHAT) {
ProfChatWin *chatwin = (ProfChatWin*)current;
assert(chatwin->memcheck == PROFCHATWIN_MEMCHECK);
return chatwin->enc_mode == PROF_ENC_OTR;
} else {
return FALSE;
}
}
win_type_t
ui_win_type(int index)
{

View File

@@ -194,7 +194,6 @@ int ui_close_read_wins(void);
// current window actions
win_type_t ui_current_win_type(void);
gboolean ui_current_win_is_otr(void);
void ui_current_print_line(const char * const msg, ...);
void ui_current_print_formatted_line(const char show_char, int attrs, const char * const msg, ...);