diff options
Diffstat (limited to 'src/ui/core.c')
-rw-r--r-- | src/ui/core.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/ui/core.c b/src/ui/core.c index 6cfa8594..f517d51d 100644 --- a/src/ui/core.c +++ b/src/ui/core.c @@ -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) { |