window: Don't store window to avoid ref cycles
Use root() instead and move one constructor to on root for having the root available.
This commit is contained in:
parent
8345640757
commit
b9f22ebfc3
12 changed files with 77 additions and 51 deletions
|
|
@ -22,6 +22,7 @@ use gtk::prelude::*;
|
|||
use strum::IntoEnumIterator;
|
||||
|
||||
use crate::deps::*;
|
||||
use crate::util::root::ParentWindow;
|
||||
use crate::util::{Direction, Position};
|
||||
|
||||
#[derive(strum::Display, strum::AsRefStr, strum::EnumIter)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue