From 757d1916ae8ebdcdbb03f5b1909c9c9209f1638e Mon Sep 17 00:00:00 2001 From: Arjan Molenaar Date: Sat, 14 Jan 2023 19:54:06 +0100 Subject: Fix dx, dy position in gtk_drag_source_drag_begin Coordinates are double. This change avoid an unneeded cast. --- gtk/gtkdragsource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkdragsource.c b/gtk/gtkdragsource.c index 5562f408be..9703f6a902 100644 --- a/gtk/gtkdragsource.c +++ b/gtk/gtkdragsource.c @@ -569,7 +569,7 @@ gtk_drag_source_drag_begin (GtkDragSource *source) GtkNative *native; GdkSurface *surface; double px, py; - int dx, dy; + double dx, dy; GdkContentProvider *content = NULL; widget = gtk_event_controller_get_widget (GTK_EVENT_CONTROLLER (source)); -- cgit v1.2.1