mod failure;
use failure::Failure;
use adw::StatusPage;
pub struct Status {
gobject: StatusPage,
}
impl Status {
pub fn new_error(title: &str, description: &str) -> Self {
Self {
gobject: Failure::new(title, description),
}
}
pub fn gobject(&self) -> &StatusPage {
&self.gobject
}
}