diff --git a/src/libostree/ostree-ref.c b/src/libostree/ostree-ref.c index 35fd5821..ea372b84 100644 --- a/src/libostree/ostree-ref.c +++ b/src/libostree/ostree-ref.c @@ -47,7 +47,7 @@ G_DEFINE_BOXED_TYPE (OstreeCollectionRef, ostree_collection_ref, * refspec; no remote name is included), which can be used for non-P2P * operations. * - * Returns: (transfer full): a new #OstreeCollectionRef + * Returns: (transfer full) (nullable): a new #OstreeCollectionRef * Since: 2018.6 */ OstreeCollectionRef * @@ -69,7 +69,7 @@ ostree_collection_ref_new (const gchar *collection_id, /** * ostree_collection_ref_dup: - * @ref: an #OstreeCollectionRef + * @ref: (not nullable): an #OstreeCollectionRef * * Create a copy of the given @ref. * @@ -104,7 +104,7 @@ ostree_collection_ref_free (OstreeCollectionRef *ref) /** * ostree_collection_ref_hash: - * @ref: an #OstreeCollectionRef + * @ref: (not nullable): an #OstreeCollectionRef * * Hash the given @ref. This function is suitable for use with #GHashTable. * @ref must be non-%NULL. @@ -125,8 +125,8 @@ ostree_collection_ref_hash (gconstpointer ref) /** * ostree_collection_ref_equal: - * @ref1: an #OstreeCollectionRef - * @ref2: another #OstreeCollectionRef + * @ref1: (not nullable): an #OstreeCollectionRef + * @ref2 : (not nullable): another #OstreeCollectionRef * * Compare @ref1 and @ref2 and return %TRUE if they have the same collection ID and * ref name, and %FALSE otherwise. Both @ref1 and @ref2 must be non-%NULL.