Commit 54356ac8 authored by Thomas Haller's avatar Thomas Haller

shared: don't use nm_str_hash() in "nm-enum-utils.c"

This was only used for some extra assertions. It' is not essential.
If this would be for real usage, we should add a dependancy so that
nm-utils/nm-enum-utils.c requires nm-hash-utils.h. But as it is,
this is not necessary.

This fixes build for meson, which wrongly tries to build nm-enum-utils.c
for libnm-util, but then fails to include nm-hash-utils.c. That should
be fixed independently.

Fixes: 84a6eff1
parent 84a6eff1
......@@ -42,7 +42,7 @@ _ASSERT_enum_values_info (GType type,
if (!value_infos)
ht = g_hash_table_new (nm_str_hash, g_str_equal);
ht = g_hash_table_new (g_str_hash, g_str_equal);
for (; value_infos->nick; value_infos++) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment