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
|
|
@ -23,9 +23,9 @@ use adw::{glib, gtk};
|
|||
use glycin::Operation;
|
||||
|
||||
use crate::editing::preview::EditingError;
|
||||
use crate::util::gettext::*;
|
||||
use crate::util::root::ParentWindow;
|
||||
use crate::util::{gettext::*, ErrorType};
|
||||
use crate::widgets::edit::LpEditCropSelection;
|
||||
use crate::widgets::error_details::ErrorType;
|
||||
use crate::widgets::{LpEditWindow, LpImage};
|
||||
|
||||
#[derive(Debug, Clone, Copy, Default, glib::Enum)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue