gtk compilation fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9543 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2005-01-29 20:40:37 +00:00
parent 5f21ba1f56
commit 7050a7cb57
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-01-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* GPrint.C (apply): use convert<int, string> to avoid undefined
reference to convert<int, Glib::ustring>
2005-01-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* *.C: make ugly concept check hack work with gcc 3.4 and above

View File

@ -50,9 +50,9 @@ void GPrint::apply()
pp.all_pages = all_->get_active();
pp.from_page = pp.to_page = 0;
if (!fromEntry_->get_text().empty()) {
pp.from_page = convert<int>(fromEntry_->get_text());
pp.from_page = convert<int, string>(fromEntry_->get_text());
if (!toEntry_->get_text().empty())
pp.to_page = convert<int>(toEntry_->get_text());
pp.to_page = convert<int, string>(toEntry_->get_text());
}
pp.odd_pages = odd_->get_active();
pp.even_pages = even_->get_active();