X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fdesktop.cpp;h=52f1725779a2b0a00fd89c704b04bf6a8995920c;hb=f5fe60fdb44fc4a99d97f8ff19d1f62a530cf895;hp=69aec65e09dae14b8b5aa181d6d3a7de3d853c54;hpb=9eb3f5487e349bceb5be7b5c41b20710ee798038;p=inkscape.git diff --git a/src/desktop.cpp b/src/desktop.cpp index 69aec65e0..52f172577 100644 --- a/src/desktop.cpp +++ b/src/desktop.cpp @@ -910,7 +910,7 @@ SPDesktop::zoom_quick (bool enable) if (!Geom::are_near(area, 0) && area * 2.0 < _quick_zoom_stored_area.area()) { set_display_area(nodes, true); zoomed = true; - } + } } } @@ -1635,7 +1635,7 @@ static void _reconstruction_start (SPDesktop * desktop) { // printf("Desktop, starting reconstruction\n"); - desktop->_reconstruction_old_layer_id = g_strdup(SP_OBJECT_ID(desktop->currentLayer())); + desktop->_reconstruction_old_layer_id = g_strdup(desktop->currentLayer()->getId()); desktop->_layer_hierarchy->setBottom(desktop->currentRoot()); /*