class-gen: Always generate GObject private structure
commit86ebdf42783d2578a68187e768854a41a128150c
authorCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>
Sun, 3 Feb 2013 18:51:27 +0000 (3 19:51 +0100)
committerSébastien Granjoux <seb.sfo@free.fr>
Wed, 6 Feb 2013 21:02:17 +0000 (6 22:02 +0100)
tree37fd30683ce79afe5243651ebdf433a1a4cdafc8
parentcd536ad145c32b92b6e83e82bb841ba266f47648
class-gen: Always generate GObject private structure

Having a private structure generated is often what you want even though you
haven't defined any private members in the dialog.

Also don't generate the _GET_PRIVATE() macro anymore but instead just
initialize the ->priv pointer in instance init.

Also remove unused parent_class variable in the generated
class_init function.

https://bugzilla.gnome.org/show_bug.cgi?id=693213
plugins/class-gen/templates/go-header.tpl
plugins/class-gen/templates/go-source.tpl