diff options
Diffstat (limited to 'gtk/gtkgesturestylus.c')
-rw-r--r-- | gtk/gtkgesturestylus.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtkgesturestylus.c b/gtk/gtkgesturestylus.c index 0db2bb7837..2341fb5a9a 100644 --- a/gtk/gtkgesturestylus.c +++ b/gtk/gtkgesturestylus.c @@ -188,7 +188,7 @@ gesture_get_current_event (GtkGestureStylus *gesture) gboolean gtk_gesture_stylus_get_axis (GtkGestureStylus *gesture, GdkAxisUse axis, - gdouble *value) + double *value) { GdkEvent *event; @@ -219,7 +219,7 @@ gtk_gesture_stylus_get_axis (GtkGestureStylus *gesture, gboolean gtk_gesture_stylus_get_axes (GtkGestureStylus *gesture, GdkAxisUse axes[], - gdouble **values) + double **values) { GdkEvent *event; GArray *array; @@ -232,11 +232,11 @@ gtk_gesture_stylus_get_axes (GtkGestureStylus *gesture, if (!event) return FALSE; - array = g_array_new (TRUE, FALSE, sizeof (gdouble)); + array = g_array_new (TRUE, FALSE, sizeof (double)); while (axes[i] != GDK_AXIS_IGNORE) { - gdouble value; + double value; if (axes[i] >= GDK_AXIS_LAST) { @@ -252,7 +252,7 @@ gtk_gesture_stylus_get_axes (GtkGestureStylus *gesture, i++; } - *values = (gdouble *) g_array_free (array, FALSE); + *values = (double *) g_array_free (array, FALSE); return TRUE; } |