1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Removed ui_get_chat_recipients

This commit is contained in:
James Booth 2015-11-02 20:35:01 +00:00
parent 6779c5bf68
commit 1c3eadbf1c
4 changed files with 2 additions and 17 deletions

View File

@ -132,7 +132,7 @@ prof_handle_idle(void)
{ {
jabber_conn_status_t status = jabber_get_connection_status(); jabber_conn_status_t status = jabber_get_connection_status();
if (status == JABBER_CONNECTED) { if (status == JABBER_CONNECTED) {
GSList *recipients = ui_get_chat_recipients(); GSList *recipients = wins_get_chat_recipients();
GSList *curr = recipients; GSList *curr = recipients;
while (curr) { while (curr) {

View File

@ -76,17 +76,14 @@
#include "xmpp/xmpp.h" #include "xmpp/xmpp.h"
static char *win_title; static char *win_title;
static int inp_size; static int inp_size;
static gboolean perform_resize = FALSE; static gboolean perform_resize = FALSE;
static GTimer *ui_idle_time;
#ifdef HAVE_LIBXSS #ifdef HAVE_LIBXSS
static Display *display; static Display *display;
#endif #endif
static GTimer *ui_idle_time;
static void _ui_draw_term_title(void); static void _ui_draw_term_title(void);
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 void
ui_incoming_private_msg(const char *const fulljid, const char *const message, GDateTime *timestamp) ui_incoming_private_msg(const char *const fulljid, const char *const message, GDateTime *timestamp)
{ {

View File

@ -63,7 +63,6 @@ void ui_update(void);
void ui_close(void); void ui_close(void);
void ui_redraw(void); void ui_redraw(void);
void ui_resize(void); void ui_resize(void);
GSList* ui_get_chat_recipients(void);
void ui_switch_win(ProfWin *window); void ui_switch_win(ProfWin *window);
void ui_sigwinch_handler(int sig); void ui_sigwinch_handler(int sig);
void ui_handle_otr_error(const char *const barejid, const char *const message); void ui_handle_otr_error(const char *const barejid, const char *const message);

View File

@ -64,10 +64,6 @@ void ui_update(void) {}
void ui_close(void) {} void ui_close(void) {}
void ui_redraw(void) {} void ui_redraw(void) {}
void ui_resize(void) {} void ui_resize(void) {}
GSList* ui_get_chat_recipients(void)
{
return NULL;
}
void ui_switch_win(ProfWin *win) {} void ui_switch_win(ProfWin *win) {}