Unverified Commit f6ae59a4 authored by Rasmus Thomsen's avatar Rasmus Thomsen
Browse files

speedometer: drop default value of non-automatic property for newer vala

parent b33a13f3
...@@ -33,7 +33,7 @@ namespace Usage ...@@ -33,7 +33,7 @@ namespace Usage
private Gtk.CssProvider css_provider; private Gtk.CssProvider css_provider;
private int _percentage; private int _percentage = 0;
public int percentage { public int percentage {
get { get {
return _percentage; return _percentage;
...@@ -43,7 +43,7 @@ namespace Usage ...@@ -43,7 +43,7 @@ namespace Usage
_percentage = value; _percentage = value;
} }
default = 0; } }
construct { construct {
css_provider = new Gtk.CssProvider(); css_provider = new Gtk.CssProvider();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment