libostree: Document and annotate some methods to quash g-ir-scanner warnings

Since warnings are bad.  Introspection is good.
This commit is contained in:
Colin Walters committed 2013-09-20 14:00:31 -04:00
1 parent b4bf5af5fa
commit 5c406132ce
2 files changed
+20

No files matched your search

+18
View File
@@ -71,12 +71,24 @@ ostree_deployment_get_bootserial (OstreeDeployment *self)
return self->bootserial;
}
/**
* ostree_deployment_get_bootconfig:
* @self: Deployment
*
* Returns: (transfer none): Boot configuration
*/
OstreeBootconfigParser *
ostree_deployment_get_bootconfig (OstreeDeployment *self)
{
return self->bootconfig;
}
/**
* ostree_deployment_get_origin:
* @self: Deployment
*
* Returns: (transfer none): Origin
*/
GKeyFile *
ostree_deployment_get_origin (OstreeDeployment *self)
{
@@ -117,6 +129,12 @@ ostree_deployment_set_origin (OstreeDeployment *self, GKeyFile *origin)
self->origin = g_key_file_ref (origin);
}
/**
* ostree_deployment_clone:
* @self: Deployment
*
* Returns: (transfer full): New deep copy of @self
*/
OstreeDeployment *
ostree_deployment_clone (OstreeDeployment *self)
{