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/gtkgesturezoom.c | |
parent | 556997f9df3b771733fc49a02d5424aee276e29f (diff) | |
download | gtk+-3078b180fe79efd0e58239dabb7098c40aced1a8.tar.gz |
Replace "gdouble" with "double"
Diffstat (limited to 'gtk/gtkgesturezoom.c')
-rw-r--r-- | gtk/gtkgesturezoom.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gtk/gtkgesturezoom.c b/gtk/gtkgesturezoom.c index d706b502f3..20b67c237b 100644 --- a/gtk/gtkgesturezoom.c +++ b/gtk/gtkgesturezoom.c @@ -45,7 +45,7 @@ enum { struct _GtkGestureZoomPrivate { - gdouble initial_distance; + double initial_distance; }; static guint signals[LAST_SIGNAL] = { 0 }; @@ -74,13 +74,13 @@ gtk_gesture_zoom_constructor (GType type, static gboolean _gtk_gesture_zoom_get_distance (GtkGestureZoom *zoom, - gdouble *distance) + double *distance) { GdkEvent *last_event; - gdouble x1, y1, x2, y2; + double x1, y1, x2, y2; GtkGesture *gesture; GList *sequences = NULL; - gdouble dx, dy; + double dx, dy; GdkTouchpadGesturePhase phase; gboolean retval = FALSE; @@ -131,7 +131,7 @@ static gboolean _gtk_gesture_zoom_check_emit (GtkGestureZoom *gesture) { GtkGestureZoomPrivate *priv; - gdouble distance, zoom; + double distance, zoom; if (!_gtk_gesture_zoom_get_distance (gesture, &distance)) return FALSE; @@ -241,11 +241,11 @@ gtk_gesture_zoom_new (void) * * Returns: the scale delta **/ -gdouble +double gtk_gesture_zoom_get_scale_delta (GtkGestureZoom *gesture) { GtkGestureZoomPrivate *priv; - gdouble distance; + double distance; g_return_val_if_fail (GTK_IS_GESTURE_ZOOM (gesture), 1.0); |