[niepce] rust: fix tests build failure



commit 42d98d9d15d0a7476983d6a549c09587e02d1c4a
Author: Hubert Figuière <hub figuiere net>
Date:   Tue Dec 29 12:29:46 2020 -0500

    rust: fix tests build failure

 niepce-main/examples/widget-test.rs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/niepce-main/examples/widget-test.rs b/niepce-main/examples/widget-test.rs
index 2968080..971be1b 100644
--- a/niepce-main/examples/widget-test.rs
+++ b/niepce-main/examples/widget-test.rs
@@ -34,6 +34,7 @@ use niepce_rust::niepce::ui::thumb_strip_view::ThumbStripView;
 use npc_fwk::toolkit::widgets::rating_label::RatingLabel;
 
 fn init() -> Result<(), Error> {
+/*
     // load the gresource binary at build time and include/link it into the final
     // binary.
     let res_bytes = include_bytes!("gresource.gresource");
@@ -45,7 +46,7 @@ fn init() -> Result<(), Error> {
     // Register the resource so it won't be dropped and will continue to live in
     // memory.
     resources_register(&resource);
-
+*/
     Ok(())
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]