Inspector: Fix ! flash on select widget @ obj tree
authorDaniel Boles <dboles.src@gmail.com>
Mon, 14 Aug 2023 09:48:26 +0000 (10:48 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 24 Aug 2023 14:21:11 +0000 (10:21 -0400)
commit0a50e1e6630074c3d04dbfb9ebbb13e9f18e1988
tree01f0cc30e763c96a9f937b78118d88a5e6d62a71
parent0270c9e5a91dfaf45ef0e71d5c460ce634553692
Inspector: Fix ! flash on select widget @ obj tree

Widgets are flashed by the window when it receives Tree::object-selected
- but we were emitting said signal from select_object(), i.e. if we were
made to select by an external caller. We should also emit it if the user
interactively selects an item, so the window receives+flashes the widget

fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/6022
gtk/inspector/object-tree.c