From e2deb397a9a1bcc6e4fe046d97e4818cd5741fc1 Mon Sep 17 00:00:00 2001 From: mfranz Date: Sat, 17 Jun 2006 16:37:33 +0000 Subject: [PATCH] remove obsolete "lon/lat format" commands that have been labeled "deprecated" and "will very soon be removed" since years --- src/GUI/gui_funcs.cxx | 3 --- src/GUI/menubar.cxx | 9 --------- 2 files changed, 12 deletions(-) diff --git a/src/GUI/gui_funcs.cxx b/src/GUI/gui_funcs.cxx index af74d6292..8765aa017 100644 --- a/src/GUI/gui_funcs.cxx +++ b/src/GUI/gui_funcs.cxx @@ -96,8 +96,6 @@ SG_USING_STD(string); SG_USING_STD(cout); -// from cockpit.cxx -extern void fgLatLonFormatToggle( puObject *); #if defined( TR_HIRES_SNAP) #include @@ -138,7 +136,6 @@ const __fg_gui_fn_t __fg_gui_fn[] = { {"fgPresetGlideslope", fgPresetGlideslope}, {"fgPresetAirspeed", fgPresetAirspeed}, {"fgPresetCommit", fgPresetCommit}, - {"fgLatLonFormatToggle", fgLatLonFormatToggle}, // Help {"helpCb", helpCb}, diff --git a/src/GUI/menubar.cxx b/src/GUI/menubar.cxx index 9254800c3..f8ef4db71 100644 --- a/src/GUI/menubar.cxx +++ b/src/GUI/menubar.cxx @@ -62,14 +62,6 @@ do_properties_dialog (const SGPropertyNode * arg) return true; } -extern void fgLatLonFormatToggle (puObject *); -static bool -do_lat_lon_format_dialog (const SGPropertyNode * arg) -{ - fgLatLonFormatToggle(0); - return true; -} - extern void helpCb (puObject *); static bool do_help_dialog (const SGPropertyNode * arg) @@ -90,7 +82,6 @@ static struct { { "old-print-dialog", do_print_dialog }, #endif { "old-properties-dialog", do_properties_dialog }, - { "old-lat-lon-format-dialog", do_lat_lon_format_dialog }, { "old-help-dialog", do_help_dialog }, { 0, 0 } };