mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 00:52:30 +02:00
Change g_hash_table_contains() for compatibility with glib < 2.32
This commit is contained in:
parent
c7b428bdaf
commit
6b56f098e9
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ CONFIG_NODE *config_node_section_index(CONFIG_REC *rec, CONFIG_NODE *parent, con
|
||||||
config_node_remove(rec, parent, node);
|
config_node_remove(rec, parent, node);
|
||||||
node = NULL;
|
node = NULL;
|
||||||
show_error = 1;
|
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);
|
g_hash_table_insert(rec->cache_nodes, node, NULL);
|
||||||
show_error = 1;
|
show_error = 1;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue