No that is not wrong, but a bit surprising. As most GTK related functions seems to pass structs always as references. At least I can currently not remember a function which passes structs by value. For language bindings one has to be a bit carefully in this case.
That seems like an oversight. It should really be passed by reference to make automated bindings happy. Please create an issue
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.