From ec4120795d70e30b77668f85bc77a4a922729580 Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Tue, 19 Jul 2016 23:19:16 +0000 Subject: Removed ABI guards that snuck in with r11819. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11822 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Text_Editor.cxx | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'src') diff --git a/src/Fl_Text_Editor.cxx b/src/Fl_Text_Editor.cxx index 04c9c68e7..3af22aa00 100644 --- a/src/Fl_Text_Editor.cxx +++ b/src/Fl_Text_Editor.cxx @@ -163,14 +163,7 @@ void Fl_Text_Editor::add_default_key_bindings(Key_Binding** list) { } /** Returns the function associated with a key binding.*/ -#if FLTK_ABI_VERSION < 10304 -// OLD - non-const -Fl_Text_Editor::Key_Func Fl_Text_Editor::bound_key_function(int key, int state, Key_Binding* list) -#else -// NEW - const (STR#3306) -Fl_Text_Editor::Key_Func Fl_Text_Editor::bound_key_function(int key, int state, Key_Binding* list) const -#endif -{ +Fl_Text_Editor::Key_Func Fl_Text_Editor::bound_key_function(int key, int state, Key_Binding* list) const { Key_Binding* cur; for (cur = list; cur; cur = cur->next) if (cur->key == key) @@ -660,7 +653,6 @@ int Fl_Text_Editor::handle(int event) { return Fl_Text_Display::handle(event); } -#if FLTK_ABI_VERSION >= 10304 /** Enables or disables Tab key focus navigation. @@ -709,7 +701,6 @@ and Shift-Tab navigates focus to the previous widget. int Fl_Text_Editor::tab_nav() const { return (bound_key_function(FL_Tab,0)==kf_ignore) ? 1 : 0; } -#endif // // End of "$Id$". -- cgit v1.2.3