summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/connector-tool.cpp
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/connector-tool.cpp
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/connector-tool.cpp')
-rw-r--r--src/ui/tools/connector-tool.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/tools/connector-tool.cpp b/src/ui/tools/connector-tool.cpp
index b72ce5346..e19f35832 100644
--- a/src/ui/tools/connector-tool.cpp
+++ b/src/ui/tools/connector-tool.cpp
@@ -465,7 +465,7 @@ bool ConnectorTool::root_handler(GdkEvent* event) {
}
-gint ConnectorTool::_handleButtonPress(GdkEventButton const &bevent) {
+bool ConnectorTool::_handleButtonPress(GdkEventButton const &bevent) {
Geom::Point const event_w(bevent.x, bevent.y);
/* Find desktop coordinates */
Geom::Point p = this->desktop->w2d(event_w);
@@ -565,7 +565,7 @@ gint ConnectorTool::_handleButtonPress(GdkEventButton const &bevent) {
return ret;
}
-gint ConnectorTool::_handleMotionNotify(GdkEventMotion const &mevent) {
+bool ConnectorTool::_handleMotionNotify(GdkEventMotion const &mevent) {
bool ret = false;
Inkscape::Preferences *prefs = Inkscape::Preferences::get();
@@ -654,7 +654,7 @@ gint ConnectorTool::_handleMotionNotify(GdkEventMotion const &mevent) {
return ret;
}
-gint ConnectorTool::_handleButtonRelease(GdkEventButton const &revent) {
+bool ConnectorTool::_handleButtonRelease(GdkEventButton const &revent) {
bool ret = false;
if ( revent.button == 1 && !this->space_panning ) {
@@ -714,7 +714,7 @@ gint ConnectorTool::_handleButtonRelease(GdkEventButton const &revent) {
return ret;
}
-gint ConnectorTool::_handleKeyPress(guint const keyval) {
+bool ConnectorTool::_handleKeyPress(guint const keyval) {
bool ret = false;
switch (keyval) {