1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Removed ui_unread

This commit is contained in:
James Booth 2015-11-02 21:14:55 +00:00
parent 7f5b563a81
commit 84adec83f9
4 changed files with 2 additions and 13 deletions

View File

@ -972,12 +972,6 @@ ui_room_banned(const char *const roomjid, const char *const actor, const char *c
}
}
gint
ui_unread(void)
{
return wins_get_total_unread();
}
int
ui_win_unread(int index)
{
@ -1107,7 +1101,7 @@ _ui_draw_term_title(void)
if (status == JABBER_CONNECTED) {
const char * const jid = jabber_get_fulljid();
gint unread = ui_unread();
gint unread = wins_get_total_unread();
if (unread != 0) {
snprintf(new_win_title, sizeof(new_win_title),

View File

@ -149,7 +149,7 @@ notify_remind(void)
gdouble elapsed = g_timer_elapsed(remind_timer, NULL);
gint remind_period = prefs_get_notify_remind();
if (remind_period > 0 && elapsed >= remind_period) {
gint unread = ui_unread();
gint unread = wins_get_total_unread();
gint open = muc_invites_count();
gint subs = presence_sub_request_count();

View File

@ -70,7 +70,6 @@ unsigned long ui_get_idle_time(void);
void ui_reset_idle_time(void);
ProfPrivateWin* ui_new_private_win(const char *const fulljid);
void ui_print_system_msg_from_recipient(const char *const barejid, const char *message);
gint ui_unread(void);
void ui_close_connected_win(int index);
int ui_close_all_wins(void);
int ui_close_read_wins(void);

View File

@ -94,10 +94,6 @@ ProfChatWin* chatwin_new(const char * const barejid)
}
void ui_print_system_msg_from_recipient(const char * const barejid, const char *message) {}
gint ui_unread(void)
{
return 0;
}
void ui_close_connected_win(int index) {}
int ui_close_all_wins(void)