Mercurial > ~mikael > mcabber > hg
comparison mcabber/mcabber/roster.c @ 2288:ece02eb9c81d
Backed out changeset 1bb9002801e5
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Tue, 13 Dec 2016 22:26:45 +0100 |
parents | 1bb9002801e5 |
children | 0d350e979bde |
comparison
equal
deleted
inserted
replaced
2287:1f5f708d58a6 | 2288:ece02eb9c81d |
---|---|
20 #include <string.h> | 20 #include <string.h> |
21 | 21 |
22 #include "roster.h" | 22 #include "roster.h" |
23 #include "utils.h" | 23 #include "utils.h" |
24 #include "hooks.h" | 24 #include "hooks.h" |
25 | |
26 int build_buddylist; | |
27 | 25 |
28 extern void hlog_save_state(void); | 26 extern void hlog_save_state(void); |
29 | 27 |
30 char *strrole[] = { /* Should match enum in roster.h */ | 28 char *strrole[] = { /* Should match enum in roster.h */ |
31 "none", | 29 "none", |
1032 if (roster_last_activity_buddy) | 1030 if (roster_last_activity_buddy) |
1033 last_activity_buddy = g_list_find(buddylist, roster_last_activity_buddy); | 1031 last_activity_buddy = g_list_find(buddylist, roster_last_activity_buddy); |
1034 // current_buddy initialization | 1032 // current_buddy initialization |
1035 if (!current_buddy || (g_list_position(buddylist, current_buddy) == -1)) | 1033 if (!current_buddy || (g_list_position(buddylist, current_buddy) == -1)) |
1036 current_buddy = g_list_first(buddylist); | 1034 current_buddy = g_list_first(buddylist); |
1037 | |
1038 build_buddylist = FALSE; | |
1039 } | 1035 } |
1040 | 1036 |
1041 // buddy_hide_group(roster, hide) | 1037 // buddy_hide_group(roster, hide) |
1042 // "hide" values: 1=hide 0=show_all -1=invert | 1038 // "hide" values: 1=hide 0=show_all -1=invert |
1043 void buddy_hide_group(gpointer rosterdata, int hide) | 1039 void buddy_hide_group(gpointer rosterdata, int hide) |