[gnome-clocks/wip/exalm/libhandy-1: 5/11] Stop using show_all() where not neeeded



commit 8a47a82c7c544398e81a3d27103753bb91eaaedc
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Sat May 23 03:30:12 2020 +0500

    Stop using show_all() where not neeeded
    
    Also this was causing a bug with HdyViewSwitcherBar.

 src/alarm.vala  | 1 -
 src/window.vala | 2 --
 src/world.vala  | 1 -
 3 files changed, 4 deletions(-)
---
diff --git a/src/alarm.vala b/src/alarm.vala
index 7e80964..475d906 100644
--- a/src/alarm.vala
+++ b/src/alarm.vala
@@ -835,7 +835,6 @@ public class Face : Gtk.Stack, Clocks.Clock {
         });
 
         load ();
-        show_all ();
 
         alarms.items_changed.connect ((position, removed, added) => {
             save ();
diff --git a/src/window.vala b/src/window.vala
index 6c5c2ce..d13c562 100644
--- a/src/window.vala
+++ b/src/window.vala
@@ -126,8 +126,6 @@ public class Window : Hdy.ApplicationWindow {
         if (Config.PROFILE == "Devel") {
             style.add_class ("devel");
         }
-
-        show_all ();
     }
 
     [Signal (action = true)]
diff --git a/src/world.vala b/src/world.vala
index d6fc8a6..29eb540 100644
--- a/src/world.vala
+++ b/src/world.vala
@@ -645,7 +645,6 @@ public class Face : Gtk.Stack, Clocks.Clock {
         });
 
         load ();
-        show_all ();
 
         if (settings.get_boolean ("geolocation")) {
             use_geolocation.begin ((obj, res) => {


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