mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
remove direct memory access
This commit is contained in:
parent
33369e31ea
commit
19a07cdf1d
32 changed files with 112 additions and 111 deletions
|
|
@ -18,7 +18,7 @@ use gtk::{
|
|||
FileLauncher,
|
||||
};
|
||||
use sqlite::Transaction;
|
||||
use std::rc::Rc;
|
||||
use std::{rc::Rc, sync::Arc};
|
||||
|
||||
pub struct Browser {
|
||||
pub action: Rc<Action>,
|
||||
|
|
@ -30,7 +30,7 @@ impl Browser {
|
|||
// Constructors
|
||||
|
||||
/// Build new `Self`
|
||||
pub fn build(profile: &Rc<Profile>) -> Browser {
|
||||
pub fn build(profile: &Arc<Profile>) -> Browser {
|
||||
// Init components
|
||||
let action = Rc::new(Action::new());
|
||||
let window = Rc::new(Window::build(profile, &action));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue