event-hook: do not expose the dispatcher in the public API

It's a singleton, we can get it from its instance function...
This commit is contained in:
George Kiagiadakis
2022-03-24 09:38:24 +02:00
committed by Julian Bouzas
parent f91ff40a2d
commit 9db63e8ca6

View File

@@ -51,7 +51,7 @@ gint wp_event_hook_get_priority (WpEventHook * self);
WP_API
WpEventHookExecType wp_event_hook_get_exec_type (WpEventHook * self);
WP_API
WP_PRIVATE_API
WpEventDispatcher * wp_event_hook_get_dispatcher (WpEventHook * self);
WP_PRIVATE_API