Recent gtk 3.98, Nim example fails to compile

OK, from

    <class name="BlurNode"
           c:symbol-prefix="blur_node"
           c:type="GskBlurNode"
           parent="RenderNode"
           glib:type-name="GskBlurNode"
           glib:get-type="gsk_blur_node_get_type"
           glib:fundamental="1">

I get the feeling that I have to use parent() to get the RenderNode and then may get the unref function.

So maybe call parent() as long as thre is one in the chain, and then call unref?

[EDIT]

Thanks for your reply, I noticed that myself. RenderNode has the unref function listed, but the chielts not. So my idea to call parent(), but of course there may exist a parent of a parent again, so I have walk upwards until there is no parent any more. It is a bit work, but may work. Thanks.