From c8d377f38e95972caeae1f489de7f87914ee35ab Mon Sep 17 00:00:00 2001 From: Maximilian Albert Date: Fri, 15 Aug 2008 19:53:10 +0000 Subject: Eliminate more of SP_ACTIVE_DESKTOP (bzr r6633) --- src/flood-context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/flood-context.cpp') diff --git a/src/flood-context.cpp b/src/flood-context.cpp index a9ca7073f..1057fd4be 100644 --- a/src/flood-context.cpp +++ b/src/flood-context.cpp @@ -530,7 +530,7 @@ static void do_trace(bitmap_coords_info bci, guchar *trace_px, SPDesktop *deskto if (union_with_selection) { desktop->messageStack()->flashF(Inkscape::WARNING_MESSAGE, ngettext("Area filled, path with %d node created and unioned with selection.","Area filled, path with %d nodes created and unioned with selection.",sp_nodes_in_path(SP_PATH(reprobj))), sp_nodes_in_path(SP_PATH(reprobj))); selection->add(reprobj); - sp_selected_path_union_skip_undo(); + sp_selected_path_union_skip_undo(desktop); } else { desktop->messageStack()->flashF(Inkscape::WARNING_MESSAGE, ngettext("Area filled, path with %d node created.","Area filled, path with %d nodes created.",sp_nodes_in_path(SP_PATH(reprobj))), sp_nodes_in_path(SP_PATH(reprobj))); selection->set(reprobj); -- cgit v1.2.3