From fd8705b9c641c5e15f3120526feb6e7900c2ac8f Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Wed, 21 May 2014 15:15:01 +0200 Subject: [PATCH] gesture-action: Fix typo in clutter_gesture_action_get_threshold_trigger_egde() Let's cross fingers and hope nobody notices. If this went unnoticed so far, likely means this function has never been used. If any complain is raised about this, a stub function should be added (and marked deprecated). --- clutter/clutter-gesture-action.c | 4 ++-- clutter/clutter-gesture-action.h | 2 +- doc/reference/clutter/clutter-sections.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/clutter/clutter-gesture-action.c b/clutter/clutter-gesture-action.c index 179905e1a..6902d771d 100644 --- a/clutter/clutter-gesture-action.c +++ b/clutter/clutter-gesture-action.c @@ -1250,7 +1250,7 @@ clutter_gesture_action_set_threshold_trigger_edge (ClutterGestureAction *ac } /** - * clutter_gesture_action_get_threshold_trigger_egde: + * clutter_gesture_action_get_threshold_trigger_edge: * @action: a #ClutterGestureAction * * Retrieves the edge trigger of the gesture @action, as set using @@ -1261,7 +1261,7 @@ clutter_gesture_action_set_threshold_trigger_edge (ClutterGestureAction *ac * Since: 1.18 */ ClutterGestureTriggerEdge -clutter_gesture_action_get_threshold_trigger_egde (ClutterGestureAction *action) +clutter_gesture_action_get_threshold_trigger_edge (ClutterGestureAction *action) { g_return_val_if_fail (CLUTTER_IS_GESTURE_ACTION (action), CLUTTER_GESTURE_TRIGGER_EDGE_NONE); diff --git a/clutter/clutter-gesture-action.h b/clutter/clutter-gesture-action.h index e531945af..f5490413a 100644 --- a/clutter/clutter-gesture-action.h +++ b/clutter/clutter-gesture-action.h @@ -160,7 +160,7 @@ CLUTTER_AVAILABLE_IN_1_18 void clutter_gesture_action_set_threshold_trigger_edge (ClutterGestureAction *action, ClutterGestureTriggerEdge edge); CLUTTER_AVAILABLE_IN_1_18 -ClutterGestureTriggerEdge clutter_gesture_action_get_threshold_trigger_egde (ClutterGestureAction *action); +ClutterGestureTriggerEdge clutter_gesture_action_get_threshold_trigger_edge (ClutterGestureAction *action); CLUTTER_AVAILABLE_IN_1_18 void clutter_gesture_action_set_threshold_trigger_distance (ClutterGestureAction *action, diff --git a/doc/reference/clutter/clutter-sections.txt b/doc/reference/clutter/clutter-sections.txt index d58483903..eb50ec70e 100644 --- a/doc/reference/clutter/clutter-sections.txt +++ b/doc/reference/clutter/clutter-sections.txt @@ -2999,7 +2999,7 @@ clutter_gesture_action_get_threshold_trigger_distance clutter_gesture_action_set_threshold_trigger_distance ClutterGestureTriggerEdge clutter_gesture_action_set_threshold_trigger_edge -clutter_gesture_action_get_threshold_trigger_egde +clutter_gesture_action_get_threshold_trigger_edge clutter_gesture_action_cancel CLUTTER_GESTURE_ACTION