From 7050a7cb57c2ac65b5e1d4f460b2e81c035a47b9 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Sat, 29 Jan 2005 20:40:37 +0000 Subject: [PATCH] gtk compilation fix git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9543 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/gtk/ChangeLog | 5 +++++ src/frontends/gtk/GPrint.C | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/frontends/gtk/ChangeLog b/src/frontends/gtk/ChangeLog index 4a7c279f06..0b51fc80bf 100644 --- a/src/frontends/gtk/ChangeLog +++ b/src/frontends/gtk/ChangeLog @@ -1,3 +1,8 @@ +2005-01-29 Georg Baum + + * GPrint.C (apply): use convert to avoid undefined + reference to convert + 2005-01-29 Georg Baum * *.C: make ugly concept check hack work with gcc 3.4 and above diff --git a/src/frontends/gtk/GPrint.C b/src/frontends/gtk/GPrint.C index 10bbbddf4e..dc18cd6aa8 100644 --- a/src/frontends/gtk/GPrint.C +++ b/src/frontends/gtk/GPrint.C @@ -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(fromEntry_->get_text()); + pp.from_page = convert(fromEntry_->get_text()); if (!toEntry_->get_text().empty()) - pp.to_page = convert(toEntry_->get_text()); + pp.to_page = convert(toEntry_->get_text()); } pp.odd_pages = odd_->get_active(); pp.even_pages = even_->get_active();