[gnome-maps] mapView: Use non-deprecated toString()
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] mapView: Use non-deprecated toString()
- Date: Mon, 23 Sep 2019 19:48:02 +0000 (UTC)
commit d3dcfeed13290622d488ab3a34faaad799b47e17
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 e206cfd..695c699 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]