~valavanisalex/ubuntu/precise/inkscape/fix-943984

« back to all changes in this revision

Viewing changes to src/ui/view/edit-widget.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2009-12-24 16:10:36 UTC
  • Revision ID: james.westby@ubuntu.com-20091224161036-low9f46u1pveqd6i
Tags: 0.47.0-1ubuntu2
Brown paper bag update: actually use the correct version of the
source tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1551
1551
EditWidget::initEdit (SPDocument *doc)
1552
1552
{
1553
1553
    _desktop = new SPDesktop();
1554
 
    _desktop->registerEditWidget (this);
1555
1554
 
1556
1555
    _namedview = sp_document_namedview (doc, 0);
1557
1556
    _svg_canvas.init (_desktop);
1558
 
    _desktop->init (_namedview, _svg_canvas.spobj());
 
1557
    _desktop->init (_namedview, _svg_canvas.spobj(), this);
1559
1558
    sp_namedview_window_from_document (_desktop);
1560
1559
    sp_namedview_update_layers_from_document (_desktop);
1561
1560
    _dt2r = 1.0 / _namedview->doc_units->unittobase;