gmain: Explicitly mark @context as not nullable in ref/unref operations

It's quite clear already, but let's mark it even more explicit.
This commit is contained in:
Marco Trevisan (Treviño) 2023-01-26 17:30:48 +01:00
parent 1f8787116a
commit 39557fc4ae

View File

@ -567,7 +567,7 @@ GSourceFuncs g_idle_funcs =
/**
* g_main_context_ref:
* @context: a #GMainContext
* @context: (not nullable): a #GMainContext
*
* Increases the reference count on a #GMainContext object by one.
*
@ -595,7 +595,7 @@ poll_rec_list_free (GMainContext *context,
/**
* g_main_context_unref:
* @context: a #GMainContext
* @context: (not nullable): a #GMainContext
*
* Decreases the reference count on a #GMainContext object by one. If
* the result is zero, free the context and free all associated memory.