about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/core.c6
-rw-r--r--src/ui/inputwin.h1
-rw-r--r--src/ui/ui.h2
-rw-r--r--src/ui/window.c4
4 files changed, 3 insertions, 10 deletions
diff --git a/src/ui/core.c b/src/ui/core.c
index 2d925169..f5b365be 100644
--- a/src/ui/core.c
+++ b/src/ui/core.c
@@ -186,12 +186,6 @@ ui_close(void)
 }
 
 void
-ui_input_nonblocking(gboolean reset)
-{
-    inp_nonblocking(reset);
-}
-
-void
 ui_resize(void)
 {
     struct winsize w;
diff --git a/src/ui/inputwin.h b/src/ui/inputwin.h
index 8a2991f8..a5cbf23f 100644
--- a/src/ui/inputwin.h
+++ b/src/ui/inputwin.h
@@ -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);
diff --git a/src/ui/ui.h b/src/ui/ui.h
index ae44d921..0d53ee5e 100644
--- a/src/ui/ui.h
+++ b/src/ui/ui.h
@@ -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));
diff --git a/src/ui/window.c b/src/ui/window.c
index 24baa63a..91e8b6c2 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -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);
 }