Skip to content

Commit d359fcd

Browse files
committed
Ditched the direct dependency on wxdragon-sys
1 parent 8f7be1a commit d359fcd

File tree

4 files changed

+2
-5
lines changed

4 files changed

+2
-5
lines changed

Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ serde = { version = "1.0.228", default-features = false, features = ["derive", "
3232
sha1 = "0.10.6"
3333
ureq = { version = "3.2.0", default-features = false, features = ["json", "rustls"] }
3434
wxdragon = { version = "0.9.10", features = ["webview"] }
35-
wxdragon-sys = "0.9.10"
3635
zip = { version = "7.3.0", default-features = false, features = ["deflate"] }
3736

3837
[target.'cfg(windows)'.dependencies]

src/ui/help.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ use std::{
1717
time::Duration,
1818
};
1919

20-
use wxdragon::{prelude::*, translations::translate as t};
21-
use wxdragon_sys as ffi;
20+
use wxdragon::{ffi, prelude::*, translations::translate as t};
2221

2322
use super::{dialogs, document_manager::DocumentManager};
2423
use crate::{

src/ui/menu_ids.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ macro_rules! menu_ids {
1818
pub const EXIT: i32 = ID_EXIT;
1919
pub const ABOUT: i32 = ID_ABOUT;
2020
#[allow(clippy::cast_possible_truncation)]
21-
pub const PREFERENCES: i32 = wxdragon_sys::WXD_ID_PREFERENCES as i32;
21+
pub const PREFERENCES: i32 = wxdragon::ffi::WXD_ID_PREFERENCES as i32;
2222

2323
// Base for custom IDs
2424
const BASE: i32 = 5000;

0 commit comments

Comments
 (0)