diff options
author | Timm Bäder <mail@baedert.org> | 2018-01-26 17:28:25 +0100 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2018-01-26 17:29:30 +0100 |
commit | 794d9d266e35b1eee87221b6687a39aa490c50db (patch) | |
tree | c08001e403348954abddd016f2e7a82fd5458831 | |
parent | 60fdeda599370a574a21fcce8b9e13a0e5291281 (diff) | |
download | gtk+-794d9d266e35b1eee87221b6687a39aa490c50db.tar.gz |
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.
-rw-r--r-- | gtk/inspector/inspect-button.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/inspector/inspect-button.c b/gtk/inspector/inspect-button.c index 987eb4f4a7..85a0c17e78 100644 --- a/gtk/inspector/inspect-button.c +++ b/gtk/inspector/inspect-button.c @@ -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; } |