about summary refs log tree commit diff stats
path: root/src/ui/core.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-06-15 23:16:22 +0100
committerJames Booth <boothj5@gmail.com>2015-06-15 23:16:22 +0100
commitfb0e0659023e6483418de2a06626d640644e94d9 (patch)
tree38e9ba8a3cb8b63a8267de6780183fda6d93cbee /src/ui/core.c
parent6097a5bade7fdcd333b8127c36d31024ae29284b (diff)
downloadprofani-tty-fb0e0659023e6483418de2a06626d640644e94d9.tar.gz
Tidied cmd_otr, added check-unit target to Makefile
Diffstat (limited to 'src/ui/core.c')
-rw-r--r--src/ui/core.c13
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)
 {