mirror of
https://github.com/brl/mutter.git
synced 2024-12-28 13:52:15 +00:00
clutter: Drop GestureAction.get_threshold_trigger_egde
People should use get_threshold_trigger_edge instead. Nothing seems to use it so it is safe to drop Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3181>
This commit is contained in:
parent
9018432b0d
commit
9374f259a4
@ -1281,23 +1281,6 @@ clutter_gesture_action_get_threshold_trigger_edge (ClutterGestureAction *action)
|
|||||||
return priv->edge;
|
return priv->edge;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* clutter_gesture_action_get_threshold_trigger_egde:
|
|
||||||
* @action: a #ClutterGestureAction
|
|
||||||
*
|
|
||||||
* Retrieves the edge trigger of the gesture @action, as set using
|
|
||||||
* [method@GestureAction.set_threshold_trigger_edge].
|
|
||||||
*
|
|
||||||
* Return value: the edge trigger
|
|
||||||
*
|
|
||||||
* Deprecated: 1.20: Use [method@GestureAction.get_threshold_trigger_edge] instead.
|
|
||||||
*/
|
|
||||||
ClutterGestureTriggerEdge
|
|
||||||
clutter_gesture_action_get_threshold_trigger_egde (ClutterGestureAction *action)
|
|
||||||
{
|
|
||||||
return clutter_gesture_action_get_threshold_trigger_edge (action);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* clutter_gesture_action_set_threshold_trigger_distance:
|
* clutter_gesture_action_set_threshold_trigger_distance:
|
||||||
* @action: a #ClutterGestureAction
|
* @action: a #ClutterGestureAction
|
||||||
|
@ -126,8 +126,7 @@ void clutter_gesture_action_cancel (ClutterGestu
|
|||||||
CLUTTER_EXPORT
|
CLUTTER_EXPORT
|
||||||
void clutter_gesture_action_set_threshold_trigger_edge (ClutterGestureAction *action,
|
void clutter_gesture_action_set_threshold_trigger_edge (ClutterGestureAction *action,
|
||||||
ClutterGestureTriggerEdge edge);
|
ClutterGestureTriggerEdge edge);
|
||||||
CLUTTER_DEPRECATED_FOR(clutter_gesture_action_get_threshold_trigger_edge)
|
|
||||||
ClutterGestureTriggerEdge clutter_gesture_action_get_threshold_trigger_egde (ClutterGestureAction *action);
|
|
||||||
CLUTTER_EXPORT
|
CLUTTER_EXPORT
|
||||||
ClutterGestureTriggerEdge clutter_gesture_action_get_threshold_trigger_edge (ClutterGestureAction *action);
|
ClutterGestureTriggerEdge clutter_gesture_action_get_threshold_trigger_edge (ClutterGestureAction *action);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user