[gnome-maps] mapLocation: Minor coding-style fix
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] mapLocation: Minor coding-style fix
- Date: Wed, 17 Apr 2013 16:19:22 +0000 (UTC)
commit 2c732621d0698bc2ae5f2f273140eb7f84ee852d
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Wed Apr 17 17:26:00 2013 +0300
mapLocation: Minor coding-style fix
src/mapLocation.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/mapLocation.js b/src/mapLocation.js
index a3f4953..ac9c326 100644
--- a/src/mapLocation.js
+++ b/src/mapLocation.js
@@ -67,7 +67,7 @@ const MapLocation = new Lang.Class({
locations[1] = this;
this._mapView.ensureVisible(locations);
- let anim_completed_id = this._view.connect("animation-completed::go-to", Lang.bind(this,
+ let animCompletedId = this._view.connect("animation-completed::go-to", Lang.bind(this,
function() {
// Apparently the signal is called before animation is really complete so if we don't
// zoom in idle, we get a crash. Perhaps a bug in libchamplain?
@@ -76,7 +76,7 @@ const MapLocation = new Lang.Class({
this._view.set_zoom_level(zoom);
this.emit('gone-to');
}));
- this._view.disconnect(anim_completed_id);
+ this._view.disconnect(animCompletedId);
}));
this._view.go_to(this.latitude, this.longitude);
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]