{
poi_info poi;
-if (select_poi(x2unit(_cmenu_position_x), y2unit(_cmenu_position_y), &poi)) {
+if (poi_select(x2unit(_cmenu_position_x), y2unit(_cmenu_position_y), &poi)) {
guint unitx, unity;
latlon2unit(poi.lat, poi.lon, unitx, unity);
cmenu_route_to(unitx, unity);
{
poi_info poi;
-if (select_poi(x2unit(_cmenu_position_x), y2unit(_cmenu_position_y), &poi)) {
+if (poi_select(x2unit(_cmenu_position_x), y2unit(_cmenu_position_y), &poi)) {
guint unitx, unity;
latlon2unit(poi.lat, poi.lon, unitx, unity);
cmenu_distance_to(unitx, unity);
{
poi_info poi;
-if (select_poi(x2unit(_cmenu_position_x), y2unit(_cmenu_position_y), &poi)) {
+if (poi_select(x2unit(_cmenu_position_x), y2unit(_cmenu_position_y), &poi)) {
guint unitx, unity;
latlon2unit(poi.lat, poi.lon, unitx, unity);
cmenu_add_route(unitx, unity);
{
poi_info poi;
-if (select_poi(x2unit(_cmenu_position_x), y2unit(_cmenu_position_y), &poi)) {
+if (poi_select(x2unit(_cmenu_position_x), y2unit(_cmenu_position_y), &poi)) {
guint unitx, unity;
latlon2unit(poi.lat, poi.lon, unitx, unity);
cmenu_route_add_way(unitx, unity);
}
gboolean
-select_poi(guint unitx, guint unity, poi_info *poi)
+poi_select(guint unitx, guint unity, poi_info *poi)
{
GtkWidget *dialog;
GtkWidget *list;
PoiCategoryEditInfo pcedit;
if (action == ACTION_EDIT_POI) {
- if (!select_poi(unitx, unity, &poi)) {
+ if (!poi_select(unitx, unity, &poi)) {
return FALSE;
}