forked from mirrors/gstreamer-rs
Regenerate everything with latest gir
This commit is contained in:
parent
cecf70af1b
commit
175863668d
17 changed files with 35 additions and 39 deletions
|
@ -1,2 +1,2 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6c8c7c4)
|
Generated by gir (https://github.com/gtk-rs/gir @ 8335272)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6bdf324)
|
from gir-files (https://github.com/gtk-rs/gir-files @ cecf70a)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6c8c7c4)
|
Generated by gir (https://github.com/gtk-rs/gir @ 8335272)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6bdf324)
|
from gir-files (https://github.com/gtk-rs/gir-files @ cecf70a)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6c8c7c4)
|
Generated by gir (https://github.com/gtk-rs/gir @ 8335272)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6bdf324)
|
from gir-files (https://github.com/gtk-rs/gir-files @ cecf70a)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6c8c7c4)
|
Generated by gir (https://github.com/gtk-rs/gir @ 8335272)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6bdf324)
|
from gir-files (https://github.com/gtk-rs/gir-files @ cecf70a)
|
||||||
|
|
|
@ -105,19 +105,15 @@ impl Asset {
|
||||||
extractable_type: glib::types::Type,
|
extractable_type: glib::types::Type,
|
||||||
id: &str,
|
id: &str,
|
||||||
) -> Pin<Box_<dyn std::future::Future<Output = Result<Asset, glib::Error>> + 'static>> {
|
) -> Pin<Box_<dyn std::future::Future<Output = Result<Asset, glib::Error>> + 'static>> {
|
||||||
use fragile::Fragile;
|
|
||||||
use gio::GioFuture;
|
|
||||||
|
|
||||||
let id = String::from(id);
|
let id = String::from(id);
|
||||||
GioFuture::new(&(), move |_obj, send| {
|
Box_::pin(gio::GioFuture::new(&(), move |_obj, send| {
|
||||||
let cancellable = gio::Cancellable::new();
|
let cancellable = gio::Cancellable::new();
|
||||||
let send = Fragile::new(send);
|
|
||||||
Self::request_async(extractable_type, &id, Some(&cancellable), move |res| {
|
Self::request_async(extractable_type, &id, Some(&cancellable), move |res| {
|
||||||
let _ = send.into_inner().send(res);
|
send.resolve(res);
|
||||||
});
|
});
|
||||||
|
|
||||||
cancellable
|
cancellable
|
||||||
})
|
}))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6c8c7c4)
|
Generated by gir (https://github.com/gtk-rs/gir @ 8335272)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6bdf324)
|
from gir-files (https://github.com/gtk-rs/gir-files @ cecf70a)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6c8c7c4)
|
Generated by gir (https://github.com/gtk-rs/gir @ 8335272)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6bdf324)
|
from gir-files (https://github.com/gtk-rs/gir-files @ cecf70a)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6c8c7c4)
|
Generated by gir (https://github.com/gtk-rs/gir @ 8335272)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6bdf324)
|
from gir-files (https://github.com/gtk-rs/gir-files @ cecf70a)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6c8c7c4)
|
Generated by gir (https://github.com/gtk-rs/gir @ 8335272)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6bdf324)
|
from gir-files (https://github.com/gtk-rs/gir-files @ cecf70a)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6c8c7c4)
|
Generated by gir (https://github.com/gtk-rs/gir @ 8335272)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6bdf324)
|
from gir-files (https://github.com/gtk-rs/gir-files @ cecf70a)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6c8c7c4)
|
Generated by gir (https://github.com/gtk-rs/gir @ 8335272)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6bdf324)
|
from gir-files (https://github.com/gtk-rs/gir-files @ cecf70a)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6c8c7c4)
|
Generated by gir (https://github.com/gtk-rs/gir @ 8335272)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6bdf324)
|
from gir-files (https://github.com/gtk-rs/gir-files @ cecf70a)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6c8c7c4)
|
Generated by gir (https://github.com/gtk-rs/gir @ 8335272)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6bdf324)
|
from gir-files (https://github.com/gtk-rs/gir-files @ cecf70a)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6c8c7c4)
|
Generated by gir (https://github.com/gtk-rs/gir @ 8335272)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6bdf324)
|
from gir-files (https://github.com/gtk-rs/gir-files @ cecf70a)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6c8c7c4)
|
Generated by gir (https://github.com/gtk-rs/gir @ 8335272)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6bdf324)
|
from gir-files (https://github.com/gtk-rs/gir-files @ cecf70a)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6c8c7c4)
|
Generated by gir (https://github.com/gtk-rs/gir @ 8335272)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6bdf324)
|
from gir-files (https://github.com/gtk-rs/gir-files @ cecf70a)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
Generated by gir (https://github.com/gtk-rs/gir @ 6c8c7c4)
|
Generated by gir (https://github.com/gtk-rs/gir @ 8335272)
|
||||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6bdf324)
|
from gir-files (https://github.com/gtk-rs/gir-files @ cecf70a)
|
||||||
|
|
Loading…
Reference in a new issue