libmalcontent: Clarify nullability of MctManager:connection

It’s not.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall 2020-04-07 12:47:16 +01:00
parent b79e6c3589
commit 6f09483b4c
1 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ mct_manager_set_property (GObject *object,
switch ((MctManagerProperty) property_id) switch ((MctManagerProperty) property_id)
{ {
case PROP_CONNECTION: case PROP_CONNECTION:
/* Construct-only. May be %NULL. */ /* Construct-only. May not be %NULL. */
g_assert (self->connection == NULL); g_assert (self->connection == NULL);
self->connection = g_value_dup_object (value); self->connection = g_value_dup_object (value);
g_assert (self->connection != NULL); g_assert (self->connection != NULL);
@ -167,7 +167,7 @@ mct_manager_class_init (MctManagerClass *klass)
object_class->set_property = mct_manager_set_property; object_class->set_property = mct_manager_set_property;
/** /**
* MctManager:connection: * MctManager:connection: (not nullable)
* *
* A connection to the system bus, where accounts-service runs. Its provided * A connection to the system bus, where accounts-service runs. Its provided
* mostly for testing purposes, or to allow an existing connection to be * mostly for testing purposes, or to allow an existing connection to be