qt3 and gtk support for revision: 15153

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15155 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2006-09-26 11:55:46 +00:00
parent b171e5f150
commit c2cc205852
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;