[gnome-maps] gpxShapeLayer: Call the super contructor correcly too...



commit 1315c44d4dfff49b3ca47c05ca6b3cdf60acc089
Author: Marcus Lundblad <ml update uu se>
Date:   Tue Feb 6 23:24:23 2018 +0100

    gpxShapeLayer: Call the super contructor correcly too...

 src/gpxShapeLayer.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gpxShapeLayer.js b/src/gpxShapeLayer.js
index 81d323b..6154b82 100644
--- a/src/gpxShapeLayer.js
+++ b/src/gpxShapeLayer.js
@@ -28,7 +28,7 @@ var GpxShapeLayer = GObject.registerClass(
 class GpxShapeLayer extends ShapeLayer.ShapeLayer {
 
     _init(params) {
-        super.construct(params);
+        super._init(params);
 
         this._mapSource = new GeoJSONSource.GeoJSONSource({
             mapView: this._mapView,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]