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;