From ac73926d3f7ae5eef19325befdad2c964953f3ad Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Thu, 18 Oct 2007 00:44:51 +0300 Subject: [PATCH] misc --- src/map.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/map.c b/src/map.c index 9098a55..3bac8e4 100644 --- a/src/map.c +++ b/src/map.c @@ -94,7 +94,7 @@ void map_draw_position_icon(Position *pos); /******************************************************************************/ gboolean -map_cb_configure(GtkWidget * widget, GdkEventConfigure * event) +map_cb_configure(GtkWidget *widget, GdkEventConfigure *event) { _screen_width_pixels = _map_widget->allocation.width; _screen_height_pixels = _map_widget->allocation.height; @@ -501,6 +501,7 @@ map_center_unit(_center.unitx + delta_unitx, _center.unity + delta_unity); /** * Helper to center map on given lat/lon */ +void map_center_latlon(gdouble lat, gdouble lon) { guint unitx, unity; -- 2.39.5