From 6f09483b4c34b039489eab605f373e31c707e1ff Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Tue, 7 Apr 2020 12:47:16 +0100 Subject: [PATCH] libmalcontent: Clarify nullability of MctManager:connection MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It’s not. Signed-off-by: Philip Withnall --- libmalcontent/manager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libmalcontent/manager.c b/libmalcontent/manager.c index 62c340e..1a69ba2 100644 --- a/libmalcontent/manager.c +++ b/libmalcontent/manager.c @@ -98,7 +98,7 @@ mct_manager_set_property (GObject *object, switch ((MctManagerProperty) property_id) { case PROP_CONNECTION: - /* Construct-only. May be %NULL. */ + /* Construct-only. May not be %NULL. */ g_assert (self->connection == NULL); self->connection = g_value_dup_object (value); g_assert (self->connection != NULL); @@ -167,7 +167,7 @@ mct_manager_class_init (MctManagerClass *klass) object_class->set_property = mct_manager_set_property; /** - * MctManager:connection: + * MctManager:connection: (not nullable) * * A connection to the system bus, where accounts-service runs. It’s provided * mostly for testing purposes, or to allow an existing connection to be