From a3589a181717329808ec595edce8e68629b7ade2 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Fri, 26 Dec 2008 23:13:17 +0000 Subject: STR 2087: made Fl_Scrollbar::value() 'const' which braks the ABI. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6604 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Scrollbar.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FL/Fl_Scrollbar.H b/FL/Fl_Scrollbar.H index 0843b4394..93b123c93 100644 --- a/FL/Fl_Scrollbar.H +++ b/FL/Fl_Scrollbar.H @@ -71,7 +71,7 @@ public: position changes (even if in response to a callback from this scrollbar). All necessary calls to redraw() are done. */ - int value() {return int(Fl_Slider::value());} + int value() const {return int(Fl_Slider::value());} /** See int Fl_Scrollbar::value() */ int value(int p, int s, int top, int total) { return scrollvalue(p, s, top, total); -- cgit v1.2.3