From 9f30965e723f1f6c7f59cbad04f10ffe8b0a58bb Mon Sep 17 00:00:00 2001 From: yggverse Date: Sun, 6 Oct 2024 01:02:23 +0300 Subject: [PATCH] use namespace --- src/app/browser.rs | 4 ++-- src/app/browser/widget.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/browser.rs b/src/app/browser.rs index a391a605..89a34e71 100644 --- a/src/app/browser.rs +++ b/src/app/browser.rs @@ -5,7 +5,6 @@ mod window; use database::Database; use header::Header; -use sqlite::Transaction; use widget::Widget; use window::Window; @@ -14,6 +13,7 @@ use gtk::{ prelude::{ActionMapExt, GtkWindowExt}, ApplicationWindow, }; +use sqlite::{Connection, Transaction}; use std::{ path::PathBuf, sync::{Arc, RwLock}, @@ -32,7 +32,7 @@ impl Browser { // Construct pub fn new( // Extras - profile_database_connection: Arc>, + profile_database_connection: Arc>, profile_path: PathBuf, // Actions action_tool_debug: Arc, diff --git a/src/app/browser/widget.rs b/src/app/browser/widget.rs index 42853332..8c5e8f46 100644 --- a/src/app/browser/widget.rs +++ b/src/app/browser/widget.rs @@ -3,7 +3,7 @@ mod database; use database::Database; use gtk::{prelude::GtkWindowExt, ApplicationWindow, Box, HeaderBar}; -use sqlite::Transaction; +use sqlite::{Connection, Transaction}; use std::sync::{Arc, RwLock}; // Default options @@ -19,7 +19,7 @@ pub struct Widget { impl Widget { // Construct pub fn new( - profile_database_connection: Arc>, + profile_database_connection: Arc>, titlebar: &HeaderBar, child: &Box, ) -> Self {