[gnome-tour] window: Use the new gtk apis



commit df887df09651c1a0210039d21640c15537b151d0
Author: Bilal Elmoussaoui <belmouss redhat com>
Date:   Tue Sep 20 14:05:06 2022 +0200

    window: Use the new gtk apis

 src/widgets/window.rs | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/widgets/window.rs b/src/widgets/window.rs
index f0ee7c9..ebe2db8 100644
--- a/src/widgets/window.rs
+++ b/src/widgets/window.rs
@@ -28,8 +28,7 @@ mod imp {
         type ParentType = adw::ApplicationWindow;
 
         fn class_init(klass: &mut Self::Class) {
-            ImagePageWidget::static_type();
-            Self::bind_template(klass);
+            klass.bind_template();
         }
 
         fn instance_init(obj: &glib::subclass::InitializingObject<Self>) {


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