From 39557fc4ae2f10212659fcbba8534334441c84e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Thu, 26 Jan 2023 17:30:48 +0100 Subject: [PATCH] gmain: Explicitly mark @context as not nullable in ref/unref operations It's quite clear already, but let's mark it even more explicit. --- glib/gmain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glib/gmain.c b/glib/gmain.c index 9033ed621..7b58e8eba 100644 --- a/glib/gmain.c +++ b/glib/gmain.c @@ -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.