Skip to content

Commit

Permalink
👷 window: refactor creation into struct module
Browse files Browse the repository at this point in the history
  • Loading branch information
vnepogodin committed Jan 11, 2025
1 parent dae9bff commit 6903c36
Show file tree
Hide file tree
Showing 3 changed files with 340 additions and 306 deletions.
8 changes: 0 additions & 8 deletions src/data_types.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
#[derive(Clone, Debug)]
#[repr(C)]
pub struct HelloWindow {
pub builder: gtk::Builder,
pub window: gtk::Window,
pub preferences: serde_json::Value,
}

#[derive(Clone, Debug)]
#[repr(C)]
pub struct SystemdUnits {
Expand Down
Loading

0 comments on commit 6903c36

Please sign in to comment.