Use Gtk::ComboBoxText::clear() instead of clear_items(), which only exists in newer gtkmm

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10783 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Spray 2006-01-28 11:52:13 +00:00
parent 02127298e7
commit fd2124c83d

View File

@ -74,7 +74,8 @@ void GBranch::update()
BranchList const branchlist = controller().branchlist(); BranchList const branchlist = controller().branchlist();
string const cur_branch = controller().params().branch; string const cur_branch = controller().params().branch;
branchescombo_.clear_items(); // FIXME: deprecated in favor of clear_items since gtkmm 2.8
branchescombo_.clear();
const_iterator const begin = branchlist.begin(); const_iterator const begin = branchlist.begin();
const_iterator const end = branchlist.end(); const_iterator const end = branchlist.end();