core: wp_core_get_context -> wp_core_get_g_main_context

This commit is contained in:
George Kiagiadakis 2020-06-16 12:53:18 +03:00
parent 5069ce5eb9
commit 083b9ff878
2 changed files with 3 additions and 3 deletions

View file

@ -439,14 +439,14 @@ wp_core_clone (WpCore * self)
}
/**
* wp_core_get_context:
* wp_core_get_g_main_context:
* @self: the core
*
* Returns: (transfer none) (nullable): the #GMainContext that is in use by
* this core for events
*/
GMainContext *
wp_core_get_context (WpCore * self)
wp_core_get_g_main_context (WpCore * self)
{
g_return_val_if_fail (WP_IS_CORE (self), NULL);
return self->g_main_context;

View file

@ -31,7 +31,7 @@ WP_API
WpCore * wp_core_clone (WpCore * self);
WP_API
GMainContext * wp_core_get_context (WpCore * self);
GMainContext * wp_core_get_g_main_context (WpCore * self);
WP_API
struct pw_context * wp_core_get_pw_context (WpCore * self);