[gnome-maps/gnome-3-34] mapView: Use non-deprecated toString()



commit f6acd75c06eda1825d96c533c96b546c873356d7
Author: Marcus Lundblad <ml update uu se>
Date:   Mon Sep 23 21:46:09 2019 +0200

    mapView: Use non-deprecated toString()
    
    Fix a usage of the deprecated .toString()
    method on arrays when parsing path to
    local tile storage.
    
    Fixes #209

 src/mapView.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/mapView.js b/src/mapView.js
index 3610272..1367923 100644
--- a/src/mapView.js
+++ b/src/mapView.js
@@ -336,7 +336,7 @@ var MapView = GObject.registerClass({
         } else {
             let renderer = new Champlain.ImageRenderer();
             let source = new Maps.FileTileSource({
-                path: Application.application.local_tile_path.toString(),
+                path: Utils.getBufferText(Application.application.local_tile_path),
                 renderer: renderer
             });
             try {


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