[niepce] rust: the @extends order for some widgets was incorrect



commit a2a1f535fc4faa2166b32542e3923af5e6e6b2d6
Author: Hubert Figuière <hub figuiere net>
Date:   Sun Jun 7 11:08:50 2020 -0400

    rust: the @extends order for some widgets was incorrect

 niepce-main/src/niepce/ui/image_grid_view.rs  | 2 +-
 niepce-main/src/niepce/ui/thumb_strip_view.rs | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/niepce-main/src/niepce/ui/image_grid_view.rs b/niepce-main/src/niepce/ui/image_grid_view.rs
index 8669b71..cb73f13 100644
--- a/niepce-main/src/niepce/ui/image_grid_view.rs
+++ b/niepce-main/src/niepce/ui/image_grid_view.rs
@@ -33,7 +33,7 @@ glib_wrapper! {
         Object<subclass::simple::InstanceStruct<ImageGridViewPriv>,
         subclass::simple::ClassStruct<ImageGridViewPriv>,
         ImageGridViewClass>)
-        @extends gtk::Widget, gtk::Container, gtk::IconView;
+        @extends gtk::IconView, gtk::Container, gtk::Widget;
 
     match fn {
         get_type => || ImageGridViewPriv::get_type().to_glib(),
diff --git a/niepce-main/src/niepce/ui/thumb_strip_view.rs b/niepce-main/src/niepce/ui/thumb_strip_view.rs
index 81da7e4..38afcbb 100644
--- a/niepce-main/src/niepce/ui/thumb_strip_view.rs
+++ b/niepce-main/src/niepce/ui/thumb_strip_view.rs
@@ -47,7 +47,7 @@ glib_wrapper! {
         Object<subclass::simple::InstanceStruct<ThumbStripViewPriv>,
         subclass::simple::ClassStruct<ThumbStripViewPriv>,
         ThumbStripViewClass>)
-        @extends gtk::Widget, gtk::Container, gtk::IconView;
+        @extends gtk::IconView, gtk::Container, gtk::Widget;
 
     match fn {
         get_type => || ThumbStripViewPriv::get_type().to_glib(),


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