diff options
author | Benjamin Otte <otte@redhat.com> | 2020-07-24 22:32:16 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2020-07-25 00:47:36 +0200 |
commit | 3078b180fe79efd0e58239dabb7098c40aced1a8 (patch) | |
tree | a4ce228bafd8df1eff46d2410554a2b2a3c0f12e /gtk/gtkgesturerotate.c | |
parent | 556997f9df3b771733fc49a02d5424aee276e29f (diff) | |
download | gtk+-3078b180fe79efd0e58239dabb7098c40aced1a8.tar.gz |
Replace "gdouble" with "double"
Diffstat (limited to 'gtk/gtkgesturerotate.c')
-rw-r--r-- | gtk/gtkgesturerotate.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk/gtkgesturerotate.c b/gtk/gtkgesturerotate.c index 5498244d77..0ee3dd15a1 100644 --- a/gtk/gtkgesturerotate.c +++ b/gtk/gtkgesturerotate.c @@ -45,8 +45,8 @@ enum { struct _GtkGestureRotatePrivate { - gdouble initial_angle; - gdouble accum_touchpad_angle; + double initial_angle; + double accum_touchpad_angle; }; static guint signals[LAST_SIGNAL] = { 0 }; @@ -75,13 +75,13 @@ gtk_gesture_rotate_constructor (GType type, static gboolean _gtk_gesture_rotate_get_angle (GtkGestureRotate *rotate, - gdouble *angle) + double *angle) { GtkGestureRotatePrivate *priv; GdkEvent *last_event; - gdouble x1, y1, x2, y2; + double x1, y1, x2, y2; GtkGesture *gesture; - gdouble dx, dy; + double dx, dy; GList *sequences = NULL; GdkTouchpadGesturePhase phase; gboolean retval = FALSE; @@ -137,7 +137,7 @@ static gboolean _gtk_gesture_rotate_check_emit (GtkGestureRotate *gesture) { GtkGestureRotatePrivate *priv; - gdouble angle, delta; + double angle, delta; if (!_gtk_gesture_rotate_get_angle (gesture, &angle)) return FALSE; @@ -279,11 +279,11 @@ gtk_gesture_rotate_new (void) * * Returns: the angle delta in radians **/ -gdouble +double gtk_gesture_rotate_get_angle_delta (GtkGestureRotate *gesture) { GtkGestureRotatePrivate *priv; - gdouble angle; + double angle; g_return_val_if_fail (GTK_IS_GESTURE_ROTATE (gesture), 0.0); |