rust: Renerate bindings

To pick up the latest introspection changes.
This commit is contained in:
Colin Walters 2023-03-17 08:25:16 -04:00
parent c4d03d2850
commit 61a4a83f19
3 changed files with 6 additions and 6 deletions

View File

@ -77,28 +77,28 @@ impl RepoFile {
}
#[doc(alias = "ostree_repo_file_tree_get_contents")]
pub fn tree_get_contents(&self) -> Option<glib::Variant> {
pub fn tree_get_contents(&self) -> glib::Variant {
unsafe {
from_glib_full(ffi::ostree_repo_file_tree_get_contents(self.to_glib_none().0))
}
}
#[doc(alias = "ostree_repo_file_tree_get_contents_checksum")]
pub fn tree_get_contents_checksum(&self) -> Option<glib::GString> {
pub fn tree_get_contents_checksum(&self) -> glib::GString {
unsafe {
from_glib_none(ffi::ostree_repo_file_tree_get_contents_checksum(self.to_glib_none().0))
}
}
#[doc(alias = "ostree_repo_file_tree_get_metadata")]
pub fn tree_get_metadata(&self) -> Option<glib::Variant> {
pub fn tree_get_metadata(&self) -> glib::Variant {
unsafe {
from_glib_full(ffi::ostree_repo_file_tree_get_metadata(self.to_glib_none().0))
}
}
#[doc(alias = "ostree_repo_file_tree_get_metadata_checksum")]
pub fn tree_get_metadata_checksum(&self) -> Option<glib::GString> {
pub fn tree_get_metadata_checksum(&self) -> glib::GString {
unsafe {
from_glib_none(ffi::ostree_repo_file_tree_get_metadata_checksum(self.to_glib_none().0))
}

View File

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0eeebbdf9d4d)
from gir-files (@ ed64a300c33e)
from gir-files (@ 1b758c141dda)

View File

@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 0eeebbdf9d4d)
from gir-files (@ ed64a300c33e)
from gir-files (@ 1b758c141dda)