forked from AuroraMiddleware/gtk
Fix dx, dy position in gtk_drag_source_drag_begin
Coordinates are double. This change avoid an unneeded cast.
This commit is contained in:
parent
0834dac6ee
commit
757d1916ae
@ -569,7 +569,7 @@ gtk_drag_source_drag_begin (GtkDragSource *source)
|
|||||||
GtkNative *native;
|
GtkNative *native;
|
||||||
GdkSurface *surface;
|
GdkSurface *surface;
|
||||||
double px, py;
|
double px, py;
|
||||||
int dx, dy;
|
double dx, dy;
|
||||||
GdkContentProvider *content = NULL;
|
GdkContentProvider *content = NULL;
|
||||||
|
|
||||||
widget = gtk_event_controller_get_widget (GTK_EVENT_CONTROLLER (source));
|
widget = gtk_event_controller_get_widget (GTK_EVENT_CONTROLLER (source));
|
||||||
|
Loading…
Reference in New Issue
Block a user