From 1adc07b92ed107749fdcfd4ab5c22040e5bada4a Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Wed, 23 Jul 2008 12:13:59 +0300 Subject: [PATCH] Path: path_set_destination_from_last() should not be static --- libs/libgtkmap/path.c | 2 +- libs/libgtkmap/path.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/libgtkmap/path.c b/libs/libgtkmap/path.c index acf7cf8..ebb2d31 100644 --- a/libs/libgtkmap/path.c +++ b/libs/libgtkmap/path.c @@ -776,7 +776,7 @@ return TRUE; /******************************************************************************/ -static gboolean +gboolean path_set_destination_from_last(Path *path, Position *pos) { Point *p; diff --git a/libs/libgtkmap/path.h b/libs/libgtkmap/path.h index 7514dac..166a6ee 100644 --- a/libs/libgtkmap/path.h +++ b/libs/libgtkmap/path.h @@ -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); -- 2.39.5