Commit d81098b8 authored by Vincent Untz's avatar Vincent Untz

[clock] Do not place on the map locations with lat = 0 and lon = 0

This is really nowhere, and it simply means that the location is not
set. It's just a timezone.
parent dd3e8f15
......@@ -413,6 +413,9 @@ clock_map_place_location (ClockMap *this, ClockLocation *loc, gboolean hilight)
gint marker;
clock_location_get_coords (loc, &latitude, &longitude);
/* 0/0 means unset, basically */
if (latitude == 0 && longitude == 0)
if (hilight)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment