Skip to content

Commit

Permalink
examples: Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
bilelmoussaoui committed Dec 10, 2024
1 parent 4c10299 commit 367c409
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/custom_orientable/custom_orientable/imp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ impl ObjectImpl for CustomOrientable {
}

fn dispose(&self) {
// Child widgets need to be manually unparented in `dispose()`.
// Child widgets need to be manually un-parented in `dispose()`.
if let Some(child) = self.first_label.borrow_mut().take() {
child.unparent();
}
Expand Down
2 changes: 1 addition & 1 deletion examples/custom_widget/ex_button/imp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ impl ObjectImpl for ExButton {
}

fn dispose(&self) {
// Child widgets need to be manually unparented in `dispose()`.
// Child widgets need to be manually un-parented in `dispose()`.
if let Some(child) = self.child.borrow_mut().take() {
child.unparent();
}
Expand Down

0 comments on commit 367c409

Please sign in to comment.