mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
use namespace
This commit is contained in:
parent
5a22e73b50
commit
9f30965e72
2 changed files with 4 additions and 4 deletions
|
|
@ -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<RwLock<sqlite::Connection>>,
|
||||
profile_database_connection: Arc<RwLock<Connection>>,
|
||||
titlebar: &HeaderBar,
|
||||
child: &Box,
|
||||
) -> Self {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue