[niepce] rust+ui: fix examples build breakage



commit d3a14c8621c0b01162832f705d93014104e7f307
Author: Hubert Figuière <hub figuiere net>
Date:   Tue Jan 28 20:33:37 2020 -0500

    rust+ui: fix examples build breakage

 examples/widget-test.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/examples/widget-test.rs b/examples/widget-test.rs
index a96f7b9..289dfc6 100644
--- a/examples/widget-test.rs
+++ b/examples/widget-test.rs
@@ -33,9 +33,9 @@ pub fn main() {
 
     let model = gtk::ListStore::new(&[gdk_pixbuf::Pixbuf::static_type()]);
     let thumbview = ThumbStripView::new(&model.upcast::<gtk::TreeModel>());
-    let thn = NpcThumbNav::new(
+    let thn = ThumbNav::new(
         &thumbview.upcast::<gtk::IconView>(),
-        NpcThumbNavMode::OneRow,
+        ThumbNavMode::OneRow,
         true,
     );
     thn.set_size_request(-1, 134);


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