]> Pileus Git - aweather/blobdiff - src/main.c
Add fullscreen view
[aweather] / src / main.c
index 1e6aea6710a3ed5a59f232feb8fa35bdab153fef..94cf0c7909df880f7506c0b0d0e721b81a13c570 100644 (file)
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#define _XOPEN_SOURCE
+#include <sys/time.h>
 #include <config.h>
 #include <gtk/gtk.h>
 #include <gtk/gtkgl.h>
 #include <glib/gstdio.h>
-#include <time.h>
 
 #include <grits.h>
 
@@ -63,7 +64,7 @@ gboolean set_location_time(AWeatherGui *gui, char *site, char *time)
        for (city_t *city = cities; city->type; city++) {
                if (city->type == LOCATION_CITY && g_str_equal(city->code, site)) {
                        grits_viewer_set_location(gui->viewer,
-                               city->pos.lat, city->pos.lon, EARTH_R/25);
+                               city->pos.lat, city->pos.lon, EARTH_R/35);
                        break;
                }
        }