Fix compilation with older versions of valac
[moonshot-ui.git] / src / moonshot-idcard-widget.vala
index 2e50bdf..63970f0 100644 (file)
@@ -47,11 +47,10 @@ class IdCardWidget : Box
     
     private Label label;
 
-    internal int _position;
+    internal int _position = 0;
     internal int position {
         get {return _position;}
         set {_position = value; set_idcard_color();}
-        default = 0;
     }
 
     public signal void expanded();
@@ -114,7 +113,6 @@ class IdCardWidget : Box
                 color.blue = 65535;
         }
         else {
-            logger.trace("set_idcard_color: position=" + position.to_string());
             if (position % 2 == 0)
             {
                 color.red = color.green = color.blue = 0xf2 << 8;