Closed sophie-h closed 2 months ago
Should ideally use a reference as that makes the lifetime tracking work better and makes it harder to use it wrong. Not sure why I didn't do that. I'll look into that again :)
Can you try if https://github.com/gtk-rs/gtk-rs-core/pull/1375 makes usage easy for you?
Since we usually use mut for GObjects, it would make sense to take a `const mut
or a
&mut`. The latter one is what I usually have in my code so far.