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:
Timm Bäder 2018-01-26 17:28:25 +01:00
parent 60fdeda599
commit 794d9d266e

View File

@ -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;
}