mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-26 04:46:21 +00:00
Moved cons_show_contacts() to console module
This commit is contained in:
@@ -1122,6 +1122,20 @@ cons_navigation_help(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
cons_show_contacts(GSList *list)
|
||||||
|
{
|
||||||
|
GSList *curr = list;
|
||||||
|
|
||||||
|
while(curr) {
|
||||||
|
PContact contact = curr->data;
|
||||||
|
if (strcmp(p_contact_subscription(contact), "none") != 0) {
|
||||||
|
window_show_contact(console, contact);
|
||||||
|
}
|
||||||
|
curr = g_slist_next(curr);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_cons_splash_logo(void)
|
_cons_splash_logo(void)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1145,20 +1145,6 @@ win_room_show_status(const char * const contact)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
cons_show_contacts(GSList *list)
|
|
||||||
{
|
|
||||||
GSList *curr = list;
|
|
||||||
|
|
||||||
while(curr) {
|
|
||||||
PContact contact = curr->data;
|
|
||||||
if (strcmp(p_contact_subscription(contact), "none") != 0) {
|
|
||||||
window_show_contact(console, contact);
|
|
||||||
}
|
|
||||||
curr = g_slist_next(curr);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
cons_bad_show(const char * const msg, ...)
|
cons_bad_show(const char * const msg, ...)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user