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



commit bf0991726c3f072fad8e4b0b7077116e4b58beba
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]