remove async dependencies

This commit is contained in:
yggverse 2025-07-23 02:27:48 +03:00
parent e2b0cd6b0d
commit b187f36028
33 changed files with 120 additions and 129 deletions

View file

@ -4,12 +4,12 @@ use super::{Action as WindowAction, BrowserAction, Profile};
use adw::{TabView, ToolbarView};
use bar::Bar;
use gtk::Box;
use std::{rc::Rc, sync::Arc};
use std::rc::Rc;
pub trait Header {
fn header(
action: (&Rc<BrowserAction>, &Rc<WindowAction>),
profile: &Arc<Profile>,
profile: &Rc<Profile>,
tab_view: &TabView,
) -> Self;
}
@ -20,7 +20,7 @@ impl Header for ToolbarView {
/// Build new `Self`
fn header(
(browser_action, window_action): (&Rc<BrowserAction>, &Rc<WindowAction>),
profile: &Arc<Profile>,
profile: &Rc<Profile>,
tab_view: &TabView,
) -> Self {
let toolbar_view = ToolbarView::builder().build();