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/gtkgestureswipe.c | |
parent | 556997f9df3b771733fc49a02d5424aee276e29f (diff) | |
download | gtk+-3078b180fe79efd0e58239dabb7098c40aced1a8.tar.gz |
Replace "gdouble" with "double"
Diffstat (limited to 'gtk/gtkgestureswipe.c')
-rw-r--r-- | gtk/gtkgestureswipe.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk/gtkgestureswipe.c b/gtk/gtkgestureswipe.c index 4105384004..59c7aba807 100644 --- a/gtk/gtkgestureswipe.c +++ b/gtk/gtkgestureswipe.c @@ -136,7 +136,7 @@ gtk_gesture_swipe_update (GtkGesture *gesture, GtkGestureSwipe *swipe = GTK_GESTURE_SWIPE (gesture); GtkGestureSwipePrivate *priv; EventData new; - gdouble x, y; + double x, y; priv = gtk_gesture_swipe_get_instance_private (swipe); _gtk_gesture_get_last_update_time (gesture, sequence, &new.evtime); @@ -151,14 +151,14 @@ gtk_gesture_swipe_update (GtkGesture *gesture, static void _gtk_gesture_swipe_calculate_velocity (GtkGestureSwipe *gesture, - gdouble *velocity_x, - gdouble *velocity_y) + double *velocity_x, + double *velocity_y) { GtkGestureSwipePrivate *priv; GdkEventSequence *sequence; guint32 evtime, diff_time; EventData *start, *end; - gdouble diff_x, diff_y; + double diff_x, diff_y; priv = gtk_gesture_swipe_get_instance_private (gesture); *velocity_x = *velocity_y = 0; @@ -191,7 +191,7 @@ gtk_gesture_swipe_end (GtkGesture *gesture, { GtkGestureSwipe *swipe = GTK_GESTURE_SWIPE (gesture); GtkGestureSwipePrivate *priv; - gdouble velocity_x, velocity_y; + double velocity_x, velocity_y; GdkEventSequence *seq; seq = gtk_gesture_single_get_current_sequence (GTK_GESTURE_SINGLE (gesture)); @@ -283,10 +283,10 @@ gtk_gesture_swipe_new (void) **/ gboolean gtk_gesture_swipe_get_velocity (GtkGestureSwipe *gesture, - gdouble *velocity_x, - gdouble *velocity_y) + double *velocity_x, + double *velocity_y) { - gdouble vel_x, vel_y; + double vel_x, vel_y; g_return_val_if_fail (GTK_IS_GESTURE (gesture), FALSE); |