summaryrefslogtreecommitdiffstats
path: root/src/ui
diff options
context:
space:
mode:
authorMarkus Engel <markus.engel@tum.de>2014-07-22 19:15:15 +0000
committerMarkus Engel <markus.engel@tum.de>2014-07-22 19:15:15 +0000
commit38acb1deed8b48ab28cc28ba0dfc577a5e205da9 (patch)
tree608c49bdd56adaab26152e3bfe98b798c04188a4 /src/ui
parentRevert fix for 1309050 since it causes other regressions... (diff)
downloadinkscape-38acb1deed8b48ab28cc28ba0dfc577a5e205da9.tar.gz
inkscape-38acb1deed8b48ab28cc28ba0dfc577a5e205da9.zip
Fixed some unused variables warnings.
(bzr r13458)
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/tools/spray-tool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/tools/spray-tool.cpp b/src/ui/tools/spray-tool.cpp
index 08d3119a1..29f1b9a73 100644
--- a/src/ui/tools/spray-tool.cpp
+++ b/src/ui/tools/spray-tool.cpp
@@ -677,7 +677,7 @@ bool SprayTool::root_handler(GdkEvent* event) {
desktop->setToolboxAdjustmentValue("population", this->population * 100);
Geom::Point const scroll_w(event->button.x, event->button.y);
Geom::Point const scroll_dt = desktop->point();;
- Geom::Point motion_doc(desktop->dt2doc(scroll_dt));
+
switch (event->scroll.direction) {
case GDK_SCROLL_DOWN:
case GDK_SCROLL_UP: {