[gnome-maps] contextMenu: Fix missing init of this._mapView



commit a733c9e1b2a4d9993482d0f268b965feda58c34f
Author: Marcus Lundblad <ml update uu se>
Date:   Tue Jan 21 23:22:12 2020 +0100

    contextMenu: Fix missing init of this._mapView

 src/contextMenu.js | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/contextMenu.js b/src/contextMenu.js
index 373eabd0..699025de 100644
--- a/src/contextMenu.js
+++ b/src/contextMenu.js
@@ -44,6 +44,7 @@ var ContextMenu = GObject.registerClass({
                         'routeItem' ],
 }, class ContextMenu extends Gtk.Menu {
     _init(params) {
+        this._mapView = params.mapView;
         delete params.mapView;
 
         this._mainWindow = params.mainWindow;


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