about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-12-22 00:37:06 +0000
committerJames Booth <boothj5@gmail.com>2014-12-22 00:37:06 +0000
commit3cbeb7b483a7a12c6fc90f3ba15aa2f881e03cf2 (patch)
tree856cb8080f86e9582bef64f10fd1a74cd89d387e /src
parentbda98a416ec07d202ef604caa40b5f81c8652424 (diff)
downloadprofani-tty-3cbeb7b483a7a12c6fc90f3ba15aa2f881e03cf2.tar.gz
Removed ui_current_set_otr
Diffstat (limited to 'src')
-rw-r--r--src/ui/core.c11
-rw-r--r--src/ui/ui.h1
2 files changed, 0 insertions, 12 deletions
diff --git a/src/ui/core.c b/src/ui/core.c
index 0ca23fe1..b096ca8b 100644
--- a/src/ui/core.c
+++ b/src/ui/core.c
@@ -1225,16 +1225,6 @@ _ui_current_win_is_otr(void)
     }
 }
 
-static void
-_ui_current_set_otr(gboolean value)
-{
-    ProfWin *current = wins_get_current();
-    if (current->type == WIN_CHAT) {
-        ProfChatWin *chatwin = (ProfChatWin*)current;
-        chatwin->is_otr = value;
-    }
-}
-
 static int
 _ui_current_win_index(void)
 {
@@ -3109,7 +3099,6 @@ ui_init_module(void)
     ui_win_unread = _ui_win_unread;
     ui_ask_password = _ui_ask_password;
     ui_current_win_is_otr = _ui_current_win_is_otr;
-    ui_current_set_otr = _ui_current_set_otr;
     ui_otr_authenticating = _ui_otr_authenticating;
     ui_otr_authetication_waiting = _ui_otr_authetication_waiting;
     ui_gone_secure = _ui_gone_secure;
diff --git a/src/ui/ui.h b/src/ui/ui.h
index 556e37dd..acffc99d 100644
--- a/src/ui/ui.h
+++ b/src/ui/ui.h
@@ -105,7 +105,6 @@ void (*ui_clear_current)(void);
 win_type_t (*ui_current_win_type)(void);
 int (*ui_current_win_index)(void);
 gboolean (*ui_current_win_is_otr)(void);
-void (*ui_current_set_otr)(gboolean value);
 
 ProfChatWin *(*ui_get_current_chat)(void);