gesturezoom: Just return a double in get_scale_delta()

Checking whether the gesture is active is a responsibility of the caller.
This commit is contained in:
Carlos Garnacho
2014-05-26 14:32:59 +02:00
parent 8f7d5fb2c0
commit 9f8bd7a2bc
3 changed files with 10 additions and 15 deletions

View File

@ -46,8 +46,7 @@ GDK_AVAILABLE_IN_3_14
GtkGesture * gtk_gesture_zoom_new (GtkWidget *widget);
GDK_AVAILABLE_IN_3_14
gboolean gtk_gesture_zoom_get_scale_delta (GtkGestureZoom *gesture,
gdouble *scale);
gdouble gtk_gesture_zoom_get_scale_delta (GtkGestureZoom *gesture);
G_END_DECLS