diff options
author | James Booth <boothj5@gmail.com> | 2015-11-02 20:35:01 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-11-02 20:35:01 +0000 |
commit | 1c3eadbf1cba45bfba839cc6bf4e0ea249e6df1c (patch) | |
tree | ba08d85f1cab3a8d5215f00f2dd1e038c4903b45 /src | |
parent | 6779c5bf682b3e71852e22a20cc38eebf6483469 (diff) | |
download | profani-tty-1c3eadbf1cba45bfba839cc6bf4e0ea249e6df1c.tar.gz |
Removed ui_get_chat_recipients
Diffstat (limited to 'src')
-rw-r--r-- | src/profanity.c | 2 | ||||
-rw-r--r-- | src/ui/core.c | 12 | ||||
-rw-r--r-- | src/ui/ui.h | 1 |
3 files changed, 2 insertions, 13 deletions
diff --git a/src/profanity.c b/src/profanity.c index 28eb4bf4..e4db293d 100644 --- a/src/profanity.c +++ b/src/profanity.c @@ -132,7 +132,7 @@ prof_handle_idle(void) { jabber_conn_status_t status = jabber_get_connection_status(); if (status == JABBER_CONNECTED) { - GSList *recipients = ui_get_chat_recipients(); + GSList *recipients = wins_get_chat_recipients(); GSList *curr = recipients; while (curr) { diff --git a/src/ui/core.c b/src/ui/core.c index 75fa61fb..0f451d61 100644 --- a/src/ui/core.c +++ b/src/ui/core.c @@ -76,17 +76,14 @@ #include "xmpp/xmpp.h" static char *win_title; - static int inp_size; - static gboolean perform_resize = FALSE; +static GTimer *ui_idle_time; #ifdef HAVE_LIBXSS static Display *display; #endif -static GTimer *ui_idle_time; - static void _ui_draw_term_title(void); void @@ -307,13 +304,6 @@ ui_contact_typing(const char *const barejid, const char *const resource) } } -GSList* -ui_get_chat_recipients(void) -{ - GSList *recipients = wins_get_chat_recipients(); - return recipients; -} - void ui_incoming_private_msg(const char *const fulljid, const char *const message, GDateTime *timestamp) { diff --git a/src/ui/ui.h b/src/ui/ui.h index b3753dbb..171e0dc6 100644 --- a/src/ui/ui.h +++ b/src/ui/ui.h @@ -63,7 +63,6 @@ void ui_update(void); void ui_close(void); void ui_redraw(void); void ui_resize(void); -GSList* ui_get_chat_recipients(void); void ui_switch_win(ProfWin *window); void ui_sigwinch_handler(int sig); void ui_handle_otr_error(const char *const barejid, const char *const message); |