inspector: Use the right font for the fps overlay
authorBenjamin Otte <otte@redhat.com>
Wed, 1 Nov 2023 20:26:11 +0000 (21:26 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 17 Nov 2023 20:28:58 +0000 (15:28 -0500)
commit64ecfd656e5d953832fde7bb7407b83e6b375314
treea83321aef14dfa54ab19a668c2bf7dc14a2d3345
parent84343d30fb39318bc8dbc66c28dd9b4a8b6c7192
inspector: Use the right font for the fps overlay

Initialize the font only when we have a widget that provides it. That
way we don't pick a terrible default font, but the widget's preferred
one.
gtk/inspector/fpsoverlay.c