mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
use const api for None values
This commit is contained in:
parent
bcf8dcb83a
commit
5e4f442966
3 changed files with 7 additions and 7 deletions
|
|
@ -80,8 +80,8 @@ impl Browser {
|
|||
let profile = profile.clone();
|
||||
move || {
|
||||
FileLauncher::new(Some(&File::for_path(profile.config_path.as_path()))).launch(
|
||||
None::<>k::Window>,
|
||||
None::<&Cancellable>,
|
||||
gtk::Window::NONE,
|
||||
Cancellable::NONE,
|
||||
|result| {
|
||||
if let Err(error) = result {
|
||||
println!("{error}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue