remove extra levels

This commit is contained in:
yggverse 2024-10-31 19:15:22 +02:00
parent 91e22f0035
commit 8e2e430bc6
5 changed files with 62 additions and 116 deletions

View file

@ -19,7 +19,7 @@ impl Status {
/// Useful as placeholder widget for error handlers
pub fn new_failure(title: Option<&str>, description: Option<&str>) -> Self {
Self {
gobject: Failure::new(title, description).gobject().clone(),
gobject: Failure::new(title, description, None).gobject().clone(),
}
}