feat: implement Default for EchidnaSidebar

EchidnaSidebar doesn't take any parameters, thus allowing Default to be easily implemented on it.
merge-requests/23/head
Nefo Fortressia 2021-12-18 17:17:15 +07:00
parent 9e06e96fed
commit 10ae0cf783
Signed by: fortressia
GPG Key ID: 6D7972CC76174995
1 changed files with 6 additions and 0 deletions

View File

@ -15,3 +15,9 @@ impl EchidnaSidebar {
glib::Object::new(&[]).expect("Failed to create 'EchidnaSidebar' component.")
}
}
impl Default for EchidnaSidebar {
fn default() -> Self {
Self::new()
}
}