diff options
| author | MenTaLguY <mental@rydia.net> | 2007-03-09 00:25:51 +0000 |
|---|---|---|
| committer | mental <mental@users.sourceforge.net> | 2007-03-09 00:25:51 +0000 |
| commit | b617f8eb8c9c9467caa4c15ba71259661d9222ce (patch) | |
| tree | 515a14bc288f031bbb9b082dc5839e66fdb961cd /src/ui/view/edit-widget.cpp | |
| parent | fix reference maybes by separate specialization (diff) | |
| download | inkscape-b617f8eb8c9c9467caa4c15ba71259661d9222ce.tar.gz inkscape-b617f8eb8c9c9467caa4c15ba71259661d9222ce.zip | |
specialize MaybeStorage for Rect, and start using reference maybes to
avoid some copies
(bzr r2582)
Diffstat (limited to 'src/ui/view/edit-widget.cpp')
| -rw-r--r-- | src/ui/view/edit-widget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/view/edit-widget.cpp b/src/ui/view/edit-widget.cpp index 78e706a25..f386aefcc 100644 --- a/src/ui/view/edit-widget.cpp +++ b/src/ui/view/edit-widget.cpp @@ -1395,7 +1395,7 @@ EditWidget::updateScrollbars (double scale) NR::Rect const viewbox = _svg_canvas.spobj()->getViewbox(); /* Viewbox is always included into scrollable region */ - carea = NR::Rect::union_bounds(carea, viewbox); + carea = NR::union_bounds(carea, viewbox); Gtk::Adjustment *adj = _bottom_scrollbar.get_adjustment(); adj->set_value(viewbox.min()[NR::X]); |
