use const api for None values

This commit is contained in:
yggverse 2024-12-13 00:39:40 +02:00
parent bcf8dcb83a
commit 5e4f442966
3 changed files with 7 additions and 7 deletions

View file

@ -80,8 +80,8 @@ impl Browser {
let profile = profile.clone();
move || {
FileLauncher::new(Some(&File::for_path(profile.config_path.as_path()))).launch(
None::<&gtk::Window>,
None::<&Cancellable>,
gtk::Window::NONE,
Cancellable::NONE,
|result| {
if let Err(error) = result {
println!("{error}")