libmalcontent: Clarify nullability of MctManager:connection
It’s not. Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
b79e6c3589
commit
6f09483b4c
|
@ -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. It’s provided
|
* 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
|
* mostly for testing purposes, or to allow an existing connection to be
|
||||||
|
|
Loading…
Reference in New Issue