mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
init sqlite connection
This commit is contained in:
parent
49cb876749
commit
043661282c
3 changed files with 23 additions and 8 deletions
|
|
@ -7,7 +7,9 @@ use gtk::{
|
|||
Application, ApplicationWindow,
|
||||
};
|
||||
|
||||
pub fn new(app: &Application, width: i32, height: i32) -> ApplicationWindow {
|
||||
use sqlite::Connection;
|
||||
|
||||
pub fn new(app: &Application, db: &Connection, width: i32, height: i32) -> ApplicationWindow {
|
||||
// Init browser window
|
||||
let browser = ApplicationWindow::builder()
|
||||
.default_width(width)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue