mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
dnd-quartz: Get rid of gdk_drawable_get_size() usage
This commit is contained in:
parent
99eae4e208
commit
ffa5587fb3
@ -696,7 +696,8 @@ gtk_drag_find_widget (GtkWidget *widget,
|
||||
{
|
||||
GdkRectangle window_rect = { 0, 0, 0, 0 };
|
||||
|
||||
gdk_drawable_get_size (window, &window_rect.width, &window_rect.height);
|
||||
window_rect.width = gdk_window_get_width (window);
|
||||
window_rect.height = gdk_window_get_height (window);
|
||||
|
||||
gdk_rectangle_intersect (&new_allocation, &window_rect, &new_allocation);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user