diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2013-11-12 01:53:30 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2013-11-12 01:53:30 +0000 |
| commit | 7ae66787a8b05b45a4679b304e3c7c5aa1d6d6a4 (patch) | |
| tree | c3e9f22d4d887b4eca0dc6d71cda6183ab1a0f1d /src/ui/tools/pencil-tool.cpp | |
| parent | Update to trunk (diff) | |
| parent | Clean up some tool related things. (diff) | |
| download | inkscape-7ae66787a8b05b45a4679b304e3c7c5aa1d6d6a4.tar.gz inkscape-7ae66787a8b05b45a4679b304e3c7c5aa1d6d6a4.zip | |
Update to trunk
(bzr r11950.1.198)
Diffstat (limited to 'src/ui/tools/pencil-tool.cpp')
| -rw-r--r-- | src/ui/tools/pencil-tool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/tools/pencil-tool.cpp b/src/ui/tools/pencil-tool.cpp index ff14d61ec..c10bd15a3 100644 --- a/src/ui/tools/pencil-tool.cpp +++ b/src/ui/tools/pencil-tool.cpp @@ -178,7 +178,7 @@ pencil_handle_button_press(PencilTool *const pc, GdkEventButton const &bevent) if ( bevent.button == 1 && !event_context->space_panning) { FreehandBase *dc = SP_DRAW_CONTEXT (pc); - SPDesktop *desktop = SP_EVENT_CONTEXT_DESKTOP(dc); + SPDesktop *desktop = dc->desktop; Inkscape::Selection *selection = sp_desktop_selection(desktop); if (Inkscape::have_viable_layer(desktop, dc->message_context) == false) { |
