diff --git a/Cargo.toml b/Cargo.toml index 7c401e6..c1e87ad 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,8 @@ readme = "README.md" keywords = ["GUI", "process", "viewer", "gtk"] [dependencies] -gtk = { version = "0.7", package = "gtk4" } +async-channel = { version = "2.2" } +gtk = { version = "0.8", package = "gtk4" } sysinfo = "0.28.2" libc = "0.2" serde = "1.0" diff --git a/src/display_sysinfo.rs b/src/display_sysinfo.rs index b487148..f850452 100644 --- a/src/display_sysinfo.rs +++ b/src/display_sysinfo.rs @@ -385,7 +385,7 @@ impl DisplaySysInfo { } } -pub fn show_if_necessary, T: WidgetExt>( +pub fn show_if_necessary, T: WidgetExt>( check_box: &U, proc_horizontal_layout: &GraphWidget, non_graph_layout: &T,