]> err.no Git - mapper/commitdiff
misc
authorKaj-Michael Lang <milang@angel.tal.org>
Wed, 17 Oct 2007 21:44:51 +0000 (00:44 +0300)
committerKaj-Michael Lang <milang@angel.tal.org>
Wed, 17 Oct 2007 21:44:51 +0000 (00:44 +0300)
src/map.c

index 9098a55d27729605098735151aff19aa2e51b42b..3bac8e4d6c1f94794307cd351803e498a705971f 100644 (file)
--- 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;