[libchamplain] kinetic-scroll-view: Move comment to the right place
- From: Jiří Techet <jiritechet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libchamplain] kinetic-scroll-view: Move comment to the right place
- Date: Sun, 30 Aug 2015 22:53:41 +0000 (UTC)
commit c241e31d2768254a1f1bc43a04d0d36348d70ecf
Author: Jiří Techet <techet gmail com>
Date: Mon Aug 31 00:36:01 2015 +0200
kinetic-scroll-view: Move comment to the right place
Plus correct a typo
champlain/champlain-kinetic-scroll-view.c | 12 ++++++------
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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]