gesturerotate: Just return a double in get_angle_delta()
Whether the gesture is active or recognized should be checked before in callers, or just not used naively.
This commit is contained in:
@ -46,8 +46,7 @@ GDK_AVAILABLE_IN_3_14
|
||||
GtkGesture * gtk_gesture_rotate_new (GtkWidget *widget);
|
||||
|
||||
GDK_AVAILABLE_IN_3_14
|
||||
gboolean gtk_gesture_rotate_get_angle_delta (GtkGestureRotate *gesture,
|
||||
gdouble *delta);
|
||||
gdouble gtk_gesture_rotate_get_angle_delta (GtkGestureRotate *gesture);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user