]> git.mxchange.org Git - flightgear.git/commitdiff
remove obsolete "lon/lat format" commands that have been labeled "deprecated"
authormfranz <mfranz>
Sat, 17 Jun 2006 16:37:33 +0000 (16:37 +0000)
committermfranz <mfranz>
Sat, 17 Jun 2006 16:37:33 +0000 (16:37 +0000)
and "will very soon be removed" since years

src/GUI/gui_funcs.cxx
src/GUI/menubar.cxx

index af74d62924fbab6d6cbee08862730d87b3ce48a7..8765aa017cf57350df9152fbba19e78dc0e6a215 100644 (file)
@@ -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 <simgear/screen/tr.h>
@@ -138,7 +136,6 @@ const __fg_gui_fn_t __fg_gui_fn[] = {
         {"fgPresetGlideslope", fgPresetGlideslope},
         {"fgPresetAirspeed", fgPresetAirspeed},
         {"fgPresetCommit", fgPresetCommit},
-        {"fgLatLonFormatToggle", fgLatLonFormatToggle},
 
         // Help
         {"helpCb", helpCb},
index 9254800c35ddc965a66fd554bdece4c8e8414cb4..f8ef4db7185eb1994b3b8d6f8b958dcc0cb52e6c 100644 (file)
@@ -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 }
 };