File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
custom_orientable/custom_orientable Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ impl ObjectImpl for CustomOrientable {
6262 }
6363
6464 fn dispose ( & self ) {
65- // Child widgets need to be manually unparented in `dispose()`.
65+ // Child widgets need to be manually parentless in `dispose()`.
6666 if let Some ( child) = self . first_label . borrow_mut ( ) . take ( ) {
6767 child. unparent ( ) ;
6868 }
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ impl ObjectImpl for ExButton {
6666 }
6767
6868 fn dispose ( & self ) {
69- // Child widgets need to be manually unparented in `dispose()`.
69+ // Child widgets need to be manually parentless in `dispose()`.
7070 if let Some ( child) = self . child . borrow_mut ( ) . take ( ) {
7171 child. unparent ( ) ;
7272 }
You can’t perform that action at this time.
0 commit comments