mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-11 20:06:18 +01:00
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:
parent
1f8787116a
commit
39557fc4ae
@ -567,7 +567,7 @@ GSourceFuncs g_idle_funcs =
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* g_main_context_ref:
|
* g_main_context_ref:
|
||||||
* @context: a #GMainContext
|
* @context: (not nullable): a #GMainContext
|
||||||
*
|
*
|
||||||
* Increases the reference count on a #GMainContext object by one.
|
* Increases the reference count on a #GMainContext object by one.
|
||||||
*
|
*
|
||||||
@ -595,7 +595,7 @@ poll_rec_list_free (GMainContext *context,
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* g_main_context_unref:
|
* g_main_context_unref:
|
||||||
* @context: a #GMainContext
|
* @context: (not nullable): a #GMainContext
|
||||||
*
|
*
|
||||||
* Decreases the reference count on a #GMainContext object by one. If
|
* Decreases the reference count on a #GMainContext object by one. If
|
||||||
* the result is zero, free the context and free all associated memory.
|
* the result is zero, free the context and free all associated memory.
|
||||||
|
Loading…
Reference in New Issue
Block a user