core: set context.modules.allow-empty to silence warning in pw_context

See cddea858d9

Closes: #620
This commit is contained in:
George Kiagiadakis
2024-04-03 11:52:18 +03:00
parent 961450b2ac
commit 7856124df0

View File

@@ -330,6 +330,7 @@ wp_core_constructed (GObject *object)
/* disable loading of a configuration file in pw_context */
wp_properties_set (self->properties, PW_KEY_CONFIG_NAME, "null");
wp_properties_set (self->properties, "context.modules.allow-empty", "true");
}
/* properties are fully stored in the pw_context, no need to keep a copy */