API: gdk: gdk_display_get_device_state() => gdk_device_get_position()
The API was not display-specific, but belonged to the device. Also, we didn't find a user of the modifier mask, so we dropped it.
This commit is contained in:
@ -3596,9 +3596,8 @@ gtk_notebook_drag_failed (GtkWidget *widget,
|
||||
gint x, y;
|
||||
|
||||
display = gtk_widget_get_display (widget);
|
||||
gdk_display_get_device_state (gtk_widget_get_display (widget),
|
||||
gdk_drag_context_get_device (context),
|
||||
NULL, &x, &y, NULL);
|
||||
gdk_device_get_position (gdk_drag_context_get_device (context),
|
||||
NULL, &x, &y);
|
||||
|
||||
g_signal_emit (notebook, notebook_signals[CREATE_WINDOW], 0,
|
||||
priv->detached_tab->child, x, y, &dest_notebook);
|
||||
|
||||
Reference in New Issue
Block a user