1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-29 19:56:07 -04:00

Removed ui_current_set_otr

This commit is contained in:
James Booth 2014-12-22 00:37:06 +00:00
parent bda98a416e
commit 3cbeb7b483
2 changed files with 0 additions and 12 deletions

View File

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

View File

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