gnome-usage: fix build with vala 0.42

This commit is contained in:
Rasmus Thomsen 2018-09-17 20:50:27 +02:00 committed by maxice8
parent a1cebad306
commit a16dd0a62e

View file

@ -0,0 +1,20 @@
--- src/speedometer.vala
+++ 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();