summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiří Techet <techet@gmail.com>2015-08-31 00:36:01 +0200
committerJiří Techet <techet@gmail.com>2015-08-31 00:51:05 +0200
commitc241e31d2768254a1f1bc43a04d0d36348d70ecf (patch)
tree3d924c0af56231a84d899d192dfaeeba57e96377
parentddc5f2087b0a02c2e33c1939e9d310e37eb46f33 (diff)
downloadlibchamplain-c241e31d2768254a1f1bc43a04d0d36348d70ecf.tar.gz
kinetic-scroll-view: Move comment to the right place
Plus correct a typo
-rw-r--r--champlain/champlain-kinetic-scroll-view.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/champlain/champlain-kinetic-scroll-view.c b/champlain/champlain-kinetic-scroll-view.c
index d210aea..b1e6b34 100644
--- a/champlain/champlain-kinetic-scroll-view.c
+++ b/champlain/champlain-kinetic-scroll-view.c
@@ -311,6 +311,11 @@ motion_event_cb (ClutterActor *stage,
g_get_current_time (&motion->time);
}
+ /* Due to the way gestures in progress connect to the stage in order to
+ * receive events, we must let these events go through, as they could be
+ * essential for the management of the ClutterZoomGesture in the
+ * ChamplainView.
+ */
return FALSE;
}
@@ -598,7 +603,7 @@ button_press_event_cb (ClutterActor *actor,
if (event->type == CLUTTER_TOUCH_BEGIN && priv->sequence)
{
- /* On multi touch input, shy away an cancel everything */
+ /* On multi touch input, shy away and cancel everything */
priv->sequence = NULL;
g_signal_handlers_disconnect_by_func (stage,
@@ -650,11 +655,6 @@ button_press_event_cb (ClutterActor *actor,
}
}
- /* Due to the way gestures in progress connect to the stage in order to
- * receive events, we must let these events go through, as they could be
- * essential for the management of the ClutterZoomGesture in the
- * ChamplainView.
- */
return FALSE;
}