[libhandy] swipeable: Remove hdy_swipe_tracker_confirm_swipe() mentions



commit 00847312afda42a5bd9fe7a795c48b927ee0d3fa
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Mon Jun 15 08:51:29 2020 +0500

    swipeable: Remove hdy_swipe_tracker_confirm_swipe() mentions
    
    It hasn't been a thing in a long time.
    
    Signed-off-by: Alexander Mikhaylenko <alexm gnome org>

 src/hdy-swipeable.c | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/src/hdy-swipeable.c b/src/hdy-swipeable.c
index 9c8399d5..a0fc284d 100644
--- a/src/hdy-swipeable.c
+++ b/src/hdy-swipeable.c
@@ -159,12 +159,8 @@ hdy_swipeable_switch_child (HdySwipeable *self,
  * @direct: %TRUE if the swipe is directly triggered by a gesture,
  *   %FALSE if it's triggered via a #HdySwipeGroup
  *
- * This function is called by #HdySwipeTracker when a possible swipe is detected.
- * The implementation should check whether a swipe is possible, and if it is,
- * it must call hdy_swipe_tracker_confirm_swipe() to provide details about the
- * swipe, see that function for details.
  * The @direction value can be used to restrict the swipe to a certain direction.
-*
+ *
  * The @direct parameter can be used to have widgets that aren't swipeable, but
  * can still animate in sync with other widgets in a #HdySwipeGroup by only
  * applying restrictions if @direct is %TRUE.
@@ -226,8 +222,7 @@ hdy_swipeable_update_swipe (HdySwipeable *self,
  * milliseconds.
  *
  * @to will always match either one of the provided snap points if the swipe was
- * completed successfully, or @cancel_progress value passed in
- * hdy_swipe_tracker_confirm_swipe() call if the swipe was cancelled.
+ * completed successfully, or the cancel progress otherwise.
  *
  * @duration can be 0, in that case the widget must immediately set the
  * progress value to @to.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]