mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
update status controller name
This commit is contained in:
parent
d2fd77f178
commit
c1bc99125e
4 changed files with 8 additions and 8 deletions
|
|
@ -1,6 +1,6 @@
|
|||
mod error;
|
||||
mod failure;
|
||||
|
||||
use error::Error;
|
||||
use failure::Failure;
|
||||
|
||||
use adw::StatusPage;
|
||||
|
||||
|
|
@ -12,7 +12,7 @@ impl Status {
|
|||
// Construct
|
||||
pub fn new_error(title: &str, description: &str) -> Self {
|
||||
Self {
|
||||
gobject: Error::new(title, description),
|
||||
gobject: Failure::new(title, description),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue