You can use `G_DEF_CLASS` for `GType` for enum. See `rbgtk-cell-renderer-accel.c` about it.