diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2014-05-26 14:29:17 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2014-05-27 17:47:12 +0200 |
commit | 8f7d5fb2c0858f3928c5bff39879a54bf91409cc (patch) | |
tree | 6dc5832c8b903fb396b11539f76171918a56d868 /gtk/gtkgesturerotate.h | |
parent | d05a9f9a7b2371b13bf9ec766482f1bb15a3853e (diff) | |
download | gtk+-8f7d5fb2c0858f3928c5bff39879a54bf91409cc.tar.gz |
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.
Diffstat (limited to 'gtk/gtkgesturerotate.h')
-rw-r--r-- | gtk/gtkgesturerotate.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtkgesturerotate.h b/gtk/gtkgesturerotate.h index 803355d053..4db84e431e 100644 --- a/gtk/gtkgesturerotate.h +++ b/gtk/gtkgesturerotate.h @@ -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 |