John Spray <[EMAIL PROTECTED]> writes: | Hi, > | Just committed the attached, along with a changelog entry. > | John > | Index: GToolbar.C | =================================================================== | RCS file: /cvs/lyx/lyx-devel/src/frontends/gtk/GToolbar.C,v | retrieving revision 1.29 | diff -u -p -r1.29 GToolbar.C | --- GToolbar.C 2005/01/29 15:09:14 1.29 | +++ GToolbar.C 2005/03/04 23:55:06 | @@ -118,10 +118,10 @@ void GLayoutBox::set(string const & layo | | void GLayoutBox::update() | { | + int current_selection = combo_.get_active_row_number();
Could it have been const? int const current_selection = combo_.get_active_row_number(); -- Lgb