mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05:00
Change g_hash_table_contains() for compatibility with glib < 2.32
This commit is contained in:
parent
c7b428bdaf
commit
6b56f098e9
@ -68,7 +68,7 @@ CONFIG_NODE *config_node_section_index(CONFIG_REC *rec, CONFIG_NODE *parent, con
|
||||
config_node_remove(rec, parent, node);
|
||||
node = NULL;
|
||||
show_error = 1;
|
||||
} else if (!g_hash_table_contains(rec->cache_nodes, node)) {
|
||||
} else if (!g_hash_table_lookup_extended(rec->cache_nodes, node, NULL, NULL)) {
|
||||
g_hash_table_insert(rec->cache_nodes, node, NULL);
|
||||
show_error = 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user