tweaks-preferences-page: Sink floating ref on failure

I think I found the cause when pasting the call trace for #85 (closed):

If we don't construct a page we need to sink the ref as g_initable_new() will drop one on failure. This raises a warning if the ref is floating.

/cc @Newbyte

Closes: #85 (closed)

Signed-off-by: Guido Günther agx@sigxcpu.org

Merge request reports

Loading