Fixed tests
This commit is contained in:
@@ -314,6 +314,12 @@ _ui_get_recipients(void)
|
||||
return recipients;
|
||||
}
|
||||
|
||||
ProfChatWin *
|
||||
_ui_get_current_chat(void)
|
||||
{
|
||||
return wins_get_current_chat();
|
||||
}
|
||||
|
||||
static void
|
||||
_ui_incoming_msg(const char * const barejid, const char * const message, GTimeVal *tv_stamp)
|
||||
{
|
||||
@@ -3208,5 +3214,6 @@ ui_init_module(void)
|
||||
ui_redraw = _ui_redraw;
|
||||
ui_show_all_room_rosters = _ui_show_all_room_rosters;
|
||||
ui_hide_all_room_rosters = _ui_hide_all_room_rosters;
|
||||
ui_get_current_chat = _ui_get_current_chat;
|
||||
}
|
||||
|
||||
|
||||
@@ -109,6 +109,8 @@ 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);
|
||||
|
||||
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, ...);
|
||||
void (*ui_current_error_line)(const char * const msg);
|
||||
|
||||
Reference in New Issue
Block a user