mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-02-05 16:04:15 +00:00
update gtk dependency resolve
This commit is contained in:
parent
ec4f6095f2
commit
9550e6f795
@ -9,5 +9,7 @@ keywords = ["gemini", "gemini-protocol", "browser", "client", "1965"]
|
|||||||
repository = "https://github.com/YGGverse/Yoda/tree/Rust-GTK4"
|
repository = "https://github.com/YGGverse/Yoda/tree/Rust-GTK4"
|
||||||
homepage = "https://yggverse.github.io"
|
homepage = "https://yggverse.github.io"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies.gtk]
|
||||||
gtk4 = { version = "0.9.1", features = ["v4_8"] }
|
package = "gtk4"
|
||||||
|
version = "0.9.1"
|
||||||
|
features = ["v4_8"]
|
@ -1,7 +1,6 @@
|
|||||||
#[path = "browser/header.rs"] mod header;
|
#[path = "browser/header.rs"] mod header;
|
||||||
#[path = "browser/main.rs"] mod main;
|
#[path = "browser/main.rs"] mod main;
|
||||||
|
|
||||||
use gtk4 as gtk;
|
|
||||||
use gtk::{Application, ApplicationWindow};
|
use gtk::{Application, ApplicationWindow};
|
||||||
|
|
||||||
pub fn new(app: &Application) -> ApplicationWindow
|
pub fn new(app: &Application) -> ApplicationWindow
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
use gtk4 as gtk;
|
|
||||||
use gtk::HeaderBar;
|
use gtk::HeaderBar;
|
||||||
|
|
||||||
pub fn new() -> HeaderBar
|
pub fn new() -> HeaderBar
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
use gtk4 as gtk;
|
|
||||||
use gtk::Box;
|
use gtk::Box;
|
||||||
|
|
||||||
pub fn new() -> Box
|
pub fn new() -> Box
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
#[path = "app/browser.rs"] mod browser;
|
#[path = "app/browser.rs"] mod browser;
|
||||||
|
|
||||||
use gtk4 as gtk;
|
|
||||||
use gtk::prelude::*;
|
use gtk::prelude::*;
|
||||||
use gtk::{glib, Application};
|
use gtk::{glib, Application};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user