diff --git a/src/browser/main/tab/page/content/mod.rs b/src/browser/main/tab/page/content/mod.rs index 33f818c7..ea369dd6 100644 --- a/src/browser/main/tab/page/content/mod.rs +++ b/src/browser/main/tab/page/content/mod.rs @@ -1,3 +1,5 @@ +use std::sync::Arc; + use gtk::{Box, Orientation}; pub struct Content { @@ -6,10 +8,10 @@ pub struct Content { impl Content { // Construct - pub fn new() -> Content { - Self { + pub fn new() -> Arc { + Arc::new(Self { widget: Box::builder().orientation(Orientation::Vertical).build(), - } + }) } // Getters