[gnome-clocks] window: Don't use the "destroy" signal



commit e999bfb7653d5b57ea9e0699638cb80c2f2bb73e
Author: Yetizone <andreii lisita gmail com>
Date:   Sun Feb 14 14:37:58 2021 +0200

    window: Don't use the "destroy" signal
    
    It's currently being used for calling settings.apply()
    
    settings.apply() doesn't need to be called anymore because
    the window's properties get saved and applied via bindings

 src/window.vala | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/src/window.vala b/src/window.vala
index 7bd9e4f4..0ae62965 100644
--- a/src/window.vala
+++ b/src/window.vala
@@ -233,10 +233,6 @@ public class Window : Adw.ApplicationWindow {
         world.add_location (location);
     }
 
-    public override void destroy () {
-        settings.apply ();
-    }
-
     private bool escape_key_pressed () {
         bool handled = false;
 


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