registry: hide again the WpCore struct, separate registry and core better
This commit is contained in:
@@ -120,7 +120,7 @@ proxy_event_bound (void *data, uint32_t global_id)
|
||||
if (!priv->global) {
|
||||
g_autoptr (WpCore) core = g_weak_ref_get (&priv->core);
|
||||
|
||||
priv->global = wp_registry_prepare_new_global (&core->registry,
|
||||
priv->global = wp_registry_prepare_new_global (wp_core_get_registry (core),
|
||||
global_id, PW_PERM_RWX, WP_GLOBAL_FLAG_OWNED_BY_PROXY,
|
||||
G_TYPE_FROM_INSTANCE (self), self, NULL);
|
||||
}
|
||||
|
Reference in New Issue
Block a user