window: Use GString's display implementation for toast
This commit is contained in:
parent
f88c48ca69
commit
ca3c02a5c2
1 changed files with 1 additions and 1 deletions
|
|
@ -185,7 +185,7 @@ mod imp {
|
|||
obj.set_image_from_file(&file, false);
|
||||
} else {
|
||||
obj.show_toast(
|
||||
&format!("\"{}\" is not a valid image.", info.display_name().to_string()),
|
||||
&format!("\"{}\" is not a valid image.", info.display_name()),
|
||||
adw::ToastPriority::High,
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue