GtkTextViewClass.parentClass

The object class structure needs to be the first

struct GtkTextViewClass
GtkContainerClass parentClass;