summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/pen-tool.h
diff options
context:
space:
mode:
authorMarkus Engel <markus.engel@tum.de>2014-03-27 00:11:46 +0000
committerMarkus Engel <markus.engel@tum.de>2014-03-27 00:11:46 +0000
commit60e6c1d025ba5923e15a49763378732eaabe4f5a (patch)
tree25bb25b77d58a505619d2a69a7d79025696c7de6 /src/ui/tools/pen-tool.h
parentCleaned up pencil-tool. (diff)
downloadinkscape-60e6c1d025ba5923e15a49763378732eaabe4f5a.tar.gz
inkscape-60e6c1d025ba5923e15a49763378732eaabe4f5a.zip
Changed some return types from gint to bool.
(bzr r13220)
Diffstat (limited to 'src/ui/tools/pen-tool.h')
-rw-r--r--src/ui/tools/pen-tool.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/tools/pen-tool.h b/src/ui/tools/pen-tool.h
index 182d270ee..4dec7b4fe 100644
--- a/src/ui/tools/pen-tool.h
+++ b/src/ui/tools/pen-tool.h
@@ -80,11 +80,11 @@ protected:
virtual bool item_handler(SPItem* item, GdkEvent* event);
private:
- gint _handleButtonPress(GdkEventButton const &bevent);
- gint _handleMotionNotify(GdkEventMotion const &mevent);
- gint _handleButtonRelease(GdkEventButton const &revent);
- gint _handle2ButtonPress(GdkEventButton const &bevent);
- gint _handleKeyPress(GdkEvent *event);
+ bool _handleButtonPress(GdkEventButton const &bevent);
+ bool _handleMotionNotify(GdkEventMotion const &mevent);
+ bool _handleButtonRelease(GdkEventButton const &revent);
+ bool _handle2ButtonPress(GdkEventButton const &bevent);
+ bool _handleKeyPress(GdkEvent *event);
void _setInitialPoint(Geom::Point const p);
void _setSubsequentPoint(Geom::Point const p, bool statusbar, guint status = 0);