From c2cc20585291258d8e96b08c0a26cf58d59e1783 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Tue, 26 Sep 2006 11:55:46 +0000 Subject: [PATCH] qt3 and gtk support for revision: 15153 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15155 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/gtk/GuiImplementation.C | 2 +- src/frontends/qt3/GuiImplementation.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontends/gtk/GuiImplementation.C b/src/frontends/gtk/GuiImplementation.C index 1e903216d8..27e9caf72b 100644 --- a/src/frontends/gtk/GuiImplementation.C +++ b/src/frontends/gtk/GuiImplementation.C @@ -44,7 +44,7 @@ int GuiImplementation::newWorkArea(unsigned int w, unsigned int h, int /*view_id work_area_.reset(new GuiWorkArea(old_screen_.get(), old_work_area_.get())); // FIXME BufferView creation should be independant of WorkArea creation - buffer_views_[0].reset(new BufferView(view_.get())); + buffer_views_[0].reset(new BufferView()); work_area_->setBufferView(buffer_views_[0].get()); view_->setWorkArea(work_area_.get()); return 0; diff --git a/src/frontends/qt3/GuiImplementation.h b/src/frontends/qt3/GuiImplementation.h index 30b4725bea..6dafa9e597 100644 --- a/src/frontends/qt3/GuiImplementation.h +++ b/src/frontends/qt3/GuiImplementation.h @@ -70,7 +70,7 @@ public: work_area_.reset(new GuiWorkArea(old_screen_.get(), old_work_area_.get())); // FIXME BufferView creation should be independant of WorkArea creation - buffer_views_[0].reset(new BufferView(view_.get())); + buffer_views_[0].reset(new BufferView()); work_area_->setBufferView(buffer_views_[0].get()); view_->setWorkArea(work_area_.get()); return 0;