Skip to content
Snippets Groups Projects
Commit b2269924 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Merge branch 'fixLocation' into 'master'

location_listener: location update notifier requires three parameters

Closes #8856

See merge request gajim/gajim!194
parents 1605b722 c473fa61
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,9 @@ class LocationListener:
def __init__(self):
self._data = {}
def _on_location_update(self, simple):
# Note: do not remove third parameter `paramSpec`
# because notify signal expects three parameters
def _on_location_update(self, simple, paramSpec=None):
location = simple.get_location()
timestamp = location.get_property("timestamp")[0]
lat = location.get_property("latitude")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment