[gnome-usage] speedometer: drop default value of non-automatic property for newer vala
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-usage] speedometer: drop default value of non-automatic property for newer vala
- Date: Thu, 20 Sep 2018 14:00:03 +0000 (UTC)
commit f6ae59a4d31b9a063e3eff7828bddf8dcf07e865
Author: Rasmus Thomsen <cogitri exherbo org>
Date: Mon Sep 17 20:54:03 2018 +0200
speedometer: drop default value of non-automatic property for newer vala
src/speedometer.vala | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/speedometer.vala b/src/speedometer.vala
index 9d3b3f6..f307f5e 100644
--- a/src/speedometer.vala
+++ b/src/speedometer.vala
@@ -33,7 +33,7 @@ namespace Usage
private Gtk.CssProvider css_provider;
- private int _percentage;
+ private int _percentage = 0;
public int percentage {
get {
return _percentage;
@@ -43,7 +43,7 @@ namespace Usage
_percentage = value;
}
- default = 0; }
+ }
construct {
css_provider = new Gtk.CssProvider();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]