summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2023-01-28 03:24:19 +0000
committerMatthias Clasen <mclasen@redhat.com>2023-01-28 03:24:19 +0000
commita9d2fa296e67abe3bb2fddcdebcfb79b583085f8 (patch)
tree1b89ae5fcbcbef5bf2d8bb6b59ed38a04328a22e
parent5bccb106c2daa12df78b457b296bf6979c79bd44 (diff)
parent757d1916ae8ebdcdbb03f5b1909c9c9209f1638e (diff)
downloadgtk+-a9d2fa296e67abe3bb2fddcdebcfb79b583085f8.tar.gz
Merge branch 'position-as-double' into 'main'
Boyscouting: fix position type in `gtk_drag_source_drag_begin()` See merge request GNOME/gtk!5437
-rw-r--r--gtk/gtkdragsource.c2
1 files changed, 1 insertions, 1 deletions
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));