diff --git a/dive.h b/dive.h index 43010ffaf..45f070971 100644 --- a/dive.h +++ b/dive.h @@ -594,7 +594,6 @@ struct diveplan { struct divedatapoint *dp; }; -extern void test_planner(void); void plan(struct diveplan *diveplan, char **cache_datap, struct dive **divep); void plan_add_segment(struct diveplan *diveplan, int duration, int depth, int o2, int he); void add_duration_to_nth_dp(struct diveplan *diveplan, int idx, int duration, gboolean is_rel); diff --git a/gtk-gui.c b/gtk-gui.c index 6c39d25fe..d1ddc97cf 100644 --- a/gtk-gui.c +++ b/gtk-gui.c @@ -1125,11 +1125,6 @@ static void next_dc(GtkWidget *w, gpointer data) repaint_dive(); } -static void test_planner_cb(GtkWidget *w, gpointer data) -{ - test_planner(); -} - /* * Get a value in tenths (so "10.2" == 102, "9" = 90) * @@ -1611,7 +1606,6 @@ static GtkActionEntry menu_items[] = { { "ViewThree", NULL, N_("Three"), CTRLCHAR "4", NULL, G_CALLBACK(view_three) }, { "PrevDC", NULL, N_("Prev DC"), NULL, NULL, G_CALLBACK(prev_dc) }, { "NextDC", NULL, N_("Next DC"), NULL, NULL, G_CALLBACK(next_dc) }, - { "TestPlan", NULL, N_("Test Planner"), NULL, NULL, G_CALLBACK(test_planner_cb) }, { "InputPlan", NULL, N_("Input Plan"), NULL, NULL, G_CALLBACK(input_plan) }, }; static gint nmenu_items = sizeof (menu_items) / sizeof (menu_items[0]); @@ -1662,7 +1656,6 @@ static const gchar* ui_string = " \ \ \
\