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



commit 98f8782014eab4dba0222db39a59bdae7ea0602a
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 49c9772..79a14f2 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]