Removed ui_input_nonblocking()

This commit is contained in:
James Booth
2015-11-01 18:56:34 +00:00
parent 8195ab42cb
commit d6e4b74802
8 changed files with 10 additions and 17 deletions

View File

@@ -185,12 +185,6 @@ ui_close(void)
endwin();
}
void
ui_input_nonblocking(gboolean reset)
{
inp_nonblocking(reset);
}
void
ui_resize(void)
{

View File

@@ -40,7 +40,6 @@
#define INP_WIN_MAX 1000
void create_input_window(void);
void inp_nonblocking(gboolean reset);
void inp_close(void);
void inp_win_resize(void);
void inp_put_back(void);

View File

@@ -86,6 +86,7 @@ void chatwin_contact_online(ProfChatWin *chatwin, Resource *resource, GDateTime
void chatwin_contact_offline(ProfChatWin *chatwin, char *resource, char *status);
char* inp_readline(void);
void inp_nonblocking(gboolean reset);
void ui_handle_otr_error(const char *const barejid, const char *const message);
@@ -226,7 +227,6 @@ void ui_update_presence(const resource_presence_t resource_presence,
const char *const message, const char *const show);
void ui_statusbar_new(const int win);
void ui_input_nonblocking(gboolean);
void ui_write(char *line, int offset);
void ui_invalid_command_usage(const char *const cmd, void (*setting_func)(void));

View File

@@ -921,7 +921,7 @@ win_print(ProfWin *window, const char show_char, int pad_indent, GDateTime *time
buffer_push(window->layout->buffer, show_char, pad_indent, timestamp, flags, theme_item, from, message, NULL);
_win_print(window, show_char, pad_indent, timestamp, flags, theme_item, from, message, NULL);
// TODO: cross-reference.. this should be replaced by a real event-based system
ui_input_nonblocking(TRUE);
inp_nonblocking(TRUE);
g_date_time_unref(timestamp);
}
@@ -944,7 +944,7 @@ win_print_with_receipt(ProfWin *window, const char show_char, int pad_indent, GT
buffer_push(window->layout->buffer, show_char, pad_indent, time, flags, theme_item, from, message, receipt);
_win_print(window, show_char, pad_indent, time, flags, theme_item, from, message, receipt);
// TODO: cross-reference.. this should be replaced by a real event-based system
ui_input_nonblocking(TRUE);
inp_nonblocking(TRUE);
g_date_time_unref(time);
}