1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

correct wrong function prefixes: g_hash_free_value -> i_hash_free_value

This commit is contained in:
Ailin Nemui 2021-01-04 15:44:10 +01:00
parent 50ed476623
commit 8405c6970a

View File

@ -774,7 +774,7 @@ static void sig_channel_joined(CHANNEL_REC *channel)
}
}
static void g_hash_free_value(void *key, void *value)
static void i_hash_free_value(void *key, void *value)
{
g_free(value);
}
@ -825,7 +825,7 @@ void fe_messages_init(void)
void fe_messages_deinit(void)
{
g_hash_table_foreach(printnicks, (GHFunc) g_hash_free_value, NULL);
g_hash_table_foreach(printnicks, (GHFunc) i_hash_free_value, NULL);
g_hash_table_destroy(printnicks);
signal_remove("message public", (SIGNAL_FUNC) sig_message_public);