]> err.no Git - mapper/commitdiff
Path: path_set_destination_from_last() should not be static
authorKaj-Michael Lang <milang@tal.org>
Wed, 23 Jul 2008 09:13:59 +0000 (12:13 +0300)
committerKaj-Michael Lang <milang@tal.org>
Wed, 23 Jul 2008 09:13:59 +0000 (12:13 +0300)
libs/libgtkmap/path.c
libs/libgtkmap/path.h

index acf7cf84dff0e1a87571c63c8b383ea46636524d..ebb2d31e14040b035c9116d4677518fcac5fb6f8 100644 (file)
@@ -776,7 +776,7 @@ return TRUE;
 
 /******************************************************************************/
 
-static gboolean
+gboolean
 path_set_destination_from_last(Path *path, Position *pos)
 {
 Point *p;
index 7514dac7d752f29df0dadead52a82430fbf79b4f..166a6eecc16af709bc292950ec6e1a8bb520a917 100644 (file)
@@ -190,6 +190,8 @@ gboolean path_add_waypoint(Path *path, gdouble lat, gdouble lon, gchar *desc);
 gboolean path_has_points(Path *path);
 gboolean path_has_waypoints(Path *path);
 
+gboolean path_set_destination_from_last(Path *path, Position *pos);
+
 gboolean path_add_break(Path *path);
 void path_insert_mark_text(Path *path, gchar *text);
 void path_insert_mark_autonumber(Path *path);