[gnome-tour/wip/exalm/ui-cleanups: 1/4] Init libhandy



commit 19c31a837bf9471fcfb22ccf513ece2739560fd9
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue Jul 14 01:19:41 2020 +0500

    Init libhandy
    
    This is necessary to load the styles, needed for HdyWindowHandle to be
    draggable (yay style properties) and for HdyWindow to have proper corners.

 src/application.rs | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/application.rs b/src/application.rs
index 2461129..f4b5c1b 100644
--- a/src/application.rs
+++ b/src/application.rs
@@ -80,6 +80,7 @@ impl Application {
 
     fn setup_signals(&self, app: Rc<Self>) {
         self.app.connect_startup(clone!(@weak app => move |_| {
+            libhandy::init();
             app.setup_css();
             app.setup_gactions(app.clone());
         }));


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