code: Fix typos

This commit is contained in:
Sophie Herold 2023-11-30 21:58:26 +01:00
parent 3cd96436f3
commit 5b3ad7c257
4 changed files with 6 additions and 6 deletions

View file

@ -128,7 +128,7 @@ mod imp {
self.parent_constructed();
// Manually mange widget layout, see `WidgetImpl` for details
// Manually manage widget layout, see `WidgetImpl` for details
obj.set_layout_manager(None::<gtk::LayoutManager>);
self.sliding_view.connect_current_page_notify(

View file

@ -93,7 +93,7 @@ impl From<&str> for PageAlignment {
"left" => (HAlignment::Left, VAlignment::Middle),
"right" => (HAlignment::Right, VAlignment::Middle),
pos => {
log::error!("Unkown alignment '{pos}'");
log::error!("Unknown alignment '{pos}'");
(HAlignment::default(), VAlignment::default())
}
};