I needed to detect if the tray icon is embedded, or looses it.
There is not a signal for that in GtkStatusIcon.
And I got the following tip:
You can connect a signal to a G::Objects property. Just bind a signal to: “notify::
Now I hopefully never forget.