Re: GdkColormap -> GObject



> One idea is to have a G_TYPE_NO_DERIVATION flag, which would allow
> glib to issue a warning if you try to subclass these types.
> This might be a stupid hack, I don't know.

This is a bad idea.  Gtk-- currently has to derive things once
to install hooks if it needs it.  If you add flags like that
then we would not be able to use that same mechanism on all
types.

--Karl





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]