mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +01:00
783f1b8640
The documentation previously implicitly said in a few places that interfaces are classed, but reading through the implementation of `GType`, I don’t think they are. If they were, the registration of the fundamental `G_TYPE_INTERFACE` in `gobject_init()` would specify `G_TYPE_FLAG_CLASSED`. It only specifies `G_TYPE_FLAG_DERIVABLE`. I think this makes sense, because you can’t subclass an interface. Subclassing is a key property of being classed. Tweak the `GType` tutorial to remove that implicit statement, and expand the documentation for `G_TYPE_IS_CLASSED`. Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Fixes: #252 |
||
---|---|---|
.. | ||
images | ||
xml | ||
glib-genmarshal.xml | ||
glib-mkenums.xml | ||
gobject-docs.xml | ||
gobject-overrides.txt | ||
gobject-query.xml | ||
gobject-sections.txt | ||
meson.build | ||
tut_gobject.xml | ||
tut_gsignal.xml | ||
tut_gtype.xml | ||
tut_howto.xml | ||
tut_intro.xml | ||
tut_tools.xml | ||
version.xml.in |