summaryrefslogtreecommitdiff
path: root/gtk/gtkcellarea.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-05-17 17:08:01 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-05-17 17:17:31 -0400
commit75d931098620119e744af82d32b850e367a46701 (patch)
tree735a9eddeddefbe922a8c0df5cdc6ce45dbbf5ea /gtk/gtkcellarea.c
parent93d4253c93c2817c1d9c27ed2c702ed400308186 (diff)
downloadgtk+-75d931098620119e744af82d32b850e367a46701.tar.gz
Change coordinate translation apis to take doubles
Change gtk_widget_translate_coordinates and gtk_native_get_surface_transform to operate on doubles. Update all callers.
Diffstat (limited to 'gtk/gtkcellarea.c')
-rw-r--r--gtk/gtkcellarea.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcellarea.c b/gtk/gtkcellarea.c
index 3f743c84e7..1a6c29f636 100644
--- a/gtk/gtkcellarea.c
+++ b/gtk/gtkcellarea.c
@@ -1043,7 +1043,7 @@ gtk_cell_area_real_event (GtkCellArea *area,
GtkCellRenderer *focus_renderer;
GdkRectangle alloc_area;
double event_x, event_y;
- int x, y;
+ double x, y;
GtkNative *native;
/* We may need some semantics to tell us the offset of the event