[gnome-clocks/zbrown/list-alarms: 23/25] Linter: fix various linting issues



commit ebd572e67e2c949f0cb883f1a96e8c875aaf2ba1
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date:   Tue Jan 28 17:29:01 2020 +0100

    Linter: fix various linting issues

 src/utils.vala | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/utils.vala b/src/utils.vala
index e194ca4..d71ba78 100644
--- a/src/utils.vala
+++ b/src/utils.vala
@@ -240,19 +240,19 @@ public class Weekdays {
         false, false, false, false, false, true, true
     };
 
-    const bool[] none = {
+    const bool[] NONE = {
         false, false, false, false, false, false, false
     };
 
-    const bool[] all = {
+    const bool[] ALL = {
         true, true, true, true, true, true, true
     };
 
-    private bool[] days = none;
+    private bool[] days = NONE;
 
     public bool empty {
         get {
-            return (days_equal (none));
+            return (days_equal (NONE));
         }
     }
     
@@ -270,7 +270,7 @@ public class Weekdays {
 
     public bool is_all {
         get {
-            return (days_equal (all));
+            return (days_equal (ALL));
         }
     }
 


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