registry: hide again the WpCore struct, separate registry and core better

This commit is contained in:
George Kiagiadakis
2020-02-17 18:31:03 +02:00
parent 0b55729e06
commit c46a48d13f
9 changed files with 75 additions and 69 deletions

View File

@@ -139,7 +139,8 @@ wp_module_load (WpCore * core, const gchar * abi, const gchar * module_name,
return NULL;
}
wp_core_register_object (core, g_object_ref (module));
wp_registry_register_object (wp_core_get_registry (core),
g_object_ref (module));
return module;
}