gir: add missing version tag

This commit is contained in:
Felix Krull authored and Colin Walters committed 2022-05-06 12:53:56 -04:00
1 parent be67b37336
commit d900c58148
6 files changed
+17 -3

No files matched your search

+4
View File
@@ -62,8 +62,11 @@ pub use self::repo_finder_override::RepoFinderOverrideExt;
mod se_policy;
pub use self::se_policy::{SePolicy, SePolicyClass};
#[cfg(any(feature = "v2020_2", feature = "dox"))]
mod sign;
#[cfg(any(feature = "v2020_2", feature = "dox"))]
pub use self::sign::{Sign, NONE_SIGN};
#[cfg(any(feature = "v2020_2", feature = "dox"))]
pub use self::sign::SignExt;
mod sysroot;
@@ -177,5 +180,6 @@ pub mod traits {
pub use super::RepoFinderMountExt;
#[cfg(any(feature = "v2018_6", feature = "dox"))]
pub use super::RepoFinderOverrideExt;
#[cfg(any(feature = "v2020_2", feature = "dox"))]
pub use super::SignExt;
}
+6
View File
@@ -2,7 +2,9 @@
// from gir-files (https://github.com/gtk-rs/gir-files)
// DO NOT EDIT
#[cfg(any(feature = "v2020_2", feature = "dox"))]
use gio;
#[cfg(any(feature = "v2020_2", feature = "dox"))]
use glib;
use glib::object::IsA;
use glib::translate::*;
@@ -10,7 +12,9 @@ use glib::translate::*;
use glib::GString;
use ostree_sys;
use std::fmt;
#[cfg(any(feature = "v2020_2", feature = "dox"))]
use std::ptr;
#[cfg(any(feature = "v2020_2", feature = "dox"))]
use Repo;
glib_wrapper! {
@@ -78,6 +82,7 @@ pub trait SignExt: 'static {
#[cfg(any(feature = "v2020_2", feature = "dox"))]
fn set_sk(&self, secret_key: &glib::Variant) -> Result<(), glib::Error>;
#[cfg(any(feature = "v2020_2", feature = "dox"))]
fn summary<P: IsA<gio::Cancellable>>(&self, repo: &Repo, keys: &glib::Variant, cancellable: Option<&P>) -> Result<(), glib::Error>;
}
@@ -184,6 +189,7 @@ impl<O: IsA<Sign>> SignExt for O {
}
}
#[cfg(any(feature = "v2020_2", feature = "dox"))]
fn summary<P: IsA<gio::Cancellable>>(&self, repo: &Repo, keys: &glib::Variant, cancellable: Option<&P>) -> Result<(), glib::Error> {
unsafe {
let mut error = ptr::null_mut();
+1 -1
View File
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 2d1ffab1)
from gir-files (https://github.com/gtk-rs/gir-files @ e0f160c+)
from gir-files (https://github.com/gtk-rs/gir-files @ a7da7c9+)