[libchamplain] Fixed call to unexisting get_coords() method in launcher-gtk.py
- From: JiÅÃ Techet <jiritechet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libchamplain] Fixed call to unexisting get_coords() method in launcher-gtk.py
- Date: Mon, 28 May 2012 20:51:24 +0000 (UTC)
commit 3b2649766aa1e6f9f002d662a146de2a6bf5fbeb
Author: Pablo Castellano <pablo anche no>
Date: Sat May 26 19:54:07 2012 +0200
Fixed call to unexisting get_coords() method in launcher-gtk.py
demos/launcher-gtk.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/demos/launcher-gtk.py b/demos/launcher-gtk.py
index 36f06c7..4e79e68 100755
--- a/demos/launcher-gtk.py
+++ b/demos/launcher-gtk.py
@@ -120,7 +120,7 @@ class LauncherGTK:
self.layer.animate_out_all_markers()
def mouse_click_cb(self, actor, event, view):
- x, y = event.get_coords()
+ x, y = event.x, event.y
lat, lon = view.x_to_longitude(x), view.y_to_latitude(y)
print "Mouse click at: %f %f" % (lon, lat)
return True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]