[gnome-clocks] widgets: Don't call Gtk.Widget.show_all()



commit db80dd04b9897cac9848c078ae6418a0c0be7d95
Author: Yetizone <andreii lisita gmail com>
Date:   Sun Mar 7 18:40:27 2021 +0200

    widgets: Don't call Gtk.Widget.show_all()
    
    Gtk.Widget.show_all() is no longer available in GTK4
    Widgets are visible by default in GTK4, as such the call doesn't need a replacement

 src/widgets.vala | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/src/widgets.vala b/src/widgets.vala
index d2f9f5ce..493392c1 100644
--- a/src/widgets.vala
+++ b/src/widgets.vala
@@ -189,7 +189,6 @@ public class AmPmToggleButton : Gtk.Button {
 
         choice = AmPm.AM;
         stack.visible_child = am_label;
-        show_all ();
     }
 }
 


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