From bf1e1622acc16b3cee7c0dd089613199ddd75798 Mon Sep 17 00:00:00 2001 From: Byson94 Date: Sat, 11 Oct 2025 09:43:54 +0530 Subject: [PATCH] fix: fixing feature issue in widget_backend.rs --- Cargo.lock | 2 +- crates/ewwii_plugin_api/Cargo.toml | 2 +- crates/ewwii_plugin_api/src/widget_backend.rs | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d2489ae..3c64998 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -527,7 +527,7 @@ dependencies = [ [[package]] name = "ewwii_plugin_api" -version = "0.3.1" +version = "0.3.2" dependencies = [ "gtk4", "rhai", diff --git a/crates/ewwii_plugin_api/Cargo.toml b/crates/ewwii_plugin_api/Cargo.toml index 0f0489f..75a6c58 100644 --- a/crates/ewwii_plugin_api/Cargo.toml +++ b/crates/ewwii_plugin_api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ewwii_plugin_api" -version = "0.3.1" +version = "0.3.2" authors = ["byson94 "] edition = "2021" license = "GPL-3.0-or-later" diff --git a/crates/ewwii_plugin_api/src/widget_backend.rs b/crates/ewwii_plugin_api/src/widget_backend.rs index 47abfee..f8dad8e 100644 --- a/crates/ewwii_plugin_api/src/widget_backend.rs +++ b/crates/ewwii_plugin_api/src/widget_backend.rs @@ -17,4 +17,5 @@ mod gtk4_included { } } +#[cfg(feature = "include-gtk4")] pub use gtk4_included::*; \ No newline at end of file