[gnome-clocks/zbrown/world-clocks] Linter: fix various linting issues
- From: Zander <zbrown src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks/zbrown/world-clocks] Linter: fix various linting issues
- Date: Sun, 23 Feb 2020 17:59:33 +0000 (UTC)
commit ceeeb7035156b3cd02095b40a05bacab36aa75ef
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 a9ba4e7..51d213d 100644
--- a/src/utils.vala
+++ b/src/utils.vala
@@ -246,19 +246,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));
}
}
@@ -276,7 +276,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]