mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 03:10:09 +00:00
inspector: Actually call the pick() vfunc when picking
Otherwise, overridden pick vfuncs don't work and we e.g. pick widgets scrolled away in a viewport.
This commit is contained in:
parent
60fdeda599
commit
794d9d266e
@ -64,7 +64,7 @@ inspector_pick (GtkWidget *widget,
|
||||
|
||||
gtk_widget_get_origin_relative_to_parent (child, &dx, &dy);
|
||||
|
||||
picked = inspector_pick (child, x - dx, y - dy);
|
||||
picked = GTK_WIDGET_GET_CLASS (child)->pick (child, x - dx, y - dy);
|
||||
if (picked)
|
||||
return picked;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user