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/gtkgesture.c | |
parent | 556997f9df3b771733fc49a02d5424aee276e29f (diff) | |
download | gtk+-3078b180fe79efd0e58239dabb7098c40aced1a8.tar.gz |
Replace "gdouble" with "double"
Diffstat (limited to 'gtk/gtkgesture.c')
-rw-r--r-- | gtk/gtkgesture.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gtk/gtkgesture.c b/gtk/gtkgesture.c index a30365d15b..84944da8e3 100644 --- a/gtk/gtkgesture.c +++ b/gtk/gtkgesture.c @@ -146,12 +146,12 @@ struct _PointData { GdkEvent *event; GtkWidget *target; - gdouble widget_x; - gdouble widget_y; + double widget_x; + double widget_y; /* Acummulators for touchpad events */ - gdouble accum_dx; - gdouble accum_dy; + double accum_dx; + double accum_dy; guint press_handled : 1; guint state : 2; @@ -1209,8 +1209,8 @@ gtk_gesture_get_last_target (GtkGesture *gesture, gboolean gtk_gesture_get_point (GtkGesture *gesture, GdkEventSequence *sequence, - gdouble *x, - gdouble *y) + double *x, + double *y) { GtkGesturePrivate *priv; PointData *data; @@ -1276,7 +1276,7 @@ gtk_gesture_get_bounding_box (GtkGesture *gesture, GdkRectangle *rect) { GtkGesturePrivate *priv; - gdouble x1, y1, x2, y2; + double x1, y1, x2, y2; GHashTableIter iter; guint n_points = 0; PointData *data; @@ -1336,8 +1336,8 @@ gtk_gesture_get_bounding_box (GtkGesture *gesture, **/ gboolean gtk_gesture_get_bounding_box_center (GtkGesture *gesture, - gdouble *x, - gdouble *y) + double *x, + double *y) { GdkEvent *last_event; GdkRectangle rect; |