mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 20:00:23 +02:00
correct wrong function prefixes: gslist -> i_slist
This commit is contained in:
parent
8405c6970a
commit
b5ddc55fe6
17 changed files with 47 additions and 53 deletions
|
|
@ -357,7 +357,7 @@ static void autoconnect_servers(void)
|
|||
|
||||
if (rec->autoconnect &&
|
||||
(rec->chatnet == NULL ||
|
||||
gslist_find_icase_string(chatnets, rec->chatnet) == NULL)) {
|
||||
i_slist_find_icase_string(chatnets, rec->chatnet) == NULL)) {
|
||||
if (rec->chatnet != NULL) {
|
||||
chatnets = g_slist_append(chatnets, rec->chatnet);
|
||||
str = g_strdup_printf("-network %s %s %d", rec->chatnet, rec->address, rec->port);
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ static void print_mode(MODE_REC *rec)
|
|||
|
||||
tmp = modes; modes = NULL;
|
||||
|
||||
nicks = gslist_to_string(rec->nicks, ", ");
|
||||
nicks = i_slist_to_string(rec->nicks, ", ");
|
||||
printformat(rec->channel->server, rec->channel->visible_name, rec->level,
|
||||
IRCTXT_CHANMODE_CHANGE, rec->channel->visible_name, rec->mode, nicks, "");
|
||||
g_free(nicks);
|
||||
|
|
|
|||
|
|
@ -212,8 +212,7 @@ static void print_netjoins(NETJOIN_SERVER_REC *server, const char *filter_channe
|
|||
}
|
||||
|
||||
/* remove the channel from old_channels too */
|
||||
old = gslist_find_icase_string(rec->old_channels,
|
||||
realchannel);
|
||||
old = i_slist_find_icase_string(rec->old_channels, realchannel);
|
||||
if (old != NULL) {
|
||||
void *data = old->data;
|
||||
rec->old_channels =
|
||||
|
|
@ -340,7 +339,7 @@ static void msg_join(IRC_SERVER_REC *server, const char *channel,
|
|||
|
||||
/* if this was not a channel they split from, treat it normally */
|
||||
if (netjoin != NULL) {
|
||||
if (!gslist_find_icase_string(netjoin->old_channels, channel))
|
||||
if (!i_slist_find_icase_string(netjoin->old_channels, channel))
|
||||
return;
|
||||
} else {
|
||||
channels = split->channels;
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ static GSList *mask_add_once(GSList *list, const char *mask)
|
|||
str = ptr == NULL ? g_strdup(mask) :
|
||||
g_strndup(mask, (int) (ptr-mask));
|
||||
|
||||
if (gslist_find_icase_string(list, str) == NULL)
|
||||
if (i_slist_find_icase_string(list, str) == NULL)
|
||||
return g_slist_append(list, str);
|
||||
|
||||
g_free(str);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue