lib/core: Fix documentation comment in ostree_validate_collection_id
authorDan Nicholson <nicholson@endlessm.com>
Fri, 3 Nov 2017 15:53:19 +0000 (15:53 +0000)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 3 Nov 2017 22:05:47 +0000 (22:05 +0000)
g-ir-scanner was spitting this warning:

  src/libostree/ostree-core.c:281: Warning: OSTree:
  ostree_validate_collection_id: unknown parameter 'rev' in
  documentation comment, should be 'collection_id'

Closes: #1322
Approved by: pwithnall

src/libostree/ostree-core.c

index cee036d83aea5bb8465369c3371ccb7d8112b574..ea4c6cc377743e69d78fcf5bb87bcd753747980d 100644 (file)
@@ -278,7 +278,7 @@ ostree_validate_remote_name (const char  *remote_name,
 
 /**
  * ostree_validate_collection_id:
- * @rev: (nullable): A collection ID
+ * @collection_id: (nullable): A collection ID
  * @error: Error
  *
  * Check whether the given @collection_id is valid. Return an error if it is