summaryrefslogtreecommitdiff
path: root/gtk/gtkgesturerotate.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2020-07-24 22:32:16 +0200
committerBenjamin Otte <otte@redhat.com>2020-07-25 00:47:36 +0200
commit3078b180fe79efd0e58239dabb7098c40aced1a8 (patch)
treea4ce228bafd8df1eff46d2410554a2b2a3c0f12e /gtk/gtkgesturerotate.c
parent556997f9df3b771733fc49a02d5424aee276e29f (diff)
downloadgtk+-3078b180fe79efd0e58239dabb7098c40aced1a8.tar.gz
Replace "gdouble" with "double"
Diffstat (limited to 'gtk/gtkgesturerotate.c')
-rw-r--r--gtk/gtkgesturerotate.c16
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);