Skip to content

Drop the priv pointer from the GObject instance structures

Debarshi Ray requested to merge wip/rishi/gobject-modernize into master

The current GObject recommendation is to use the generated get_instance_private function instead of a separate priv pointer in the instance struct. This saves one pointer per class in the hierarchy multiplied by the number of instances of the type, and the function is fast enough because it only does pointer arithmetic.

Merge request reports