gvarianttype: Fix typos

Saying that a GtkWidget is a GtkWidget is trivially true, but not the
point we were trying to make here.

Fixes: b5c07063 "docs: Use code for class names in links"
Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
Simon McVittie 2024-01-19 11:53:00 +00:00
parent 4ff4f073a4
commit 6da5e6a327

View File

@ -90,8 +90,8 @@
* non-abstract subtypes may. For example, in GTK, no object that has
* the type of [`GtkWidget`](https://docs.gtk.org/gtk4/class.Widget.html) can
* exist (since `GtkWidget` is an abstract class), but a [`GtkWindow`](https://docs.gtk.org/gtk4/class.Window.html)
* can certainly be instantiated, and you would say that a `GtkWidget` is a
* `GtkWidget` (since `GtkWidget` is a subclass of `GtkWidget`).
* can certainly be instantiated, and you would say that a `GtkWindow` is a
* `GtkWidget` (since `GtkWindow` is a subclass of `GtkWidget`).
*
* Two types may not be compared by value; use [method@GLib.VariantType.equal]
* or [method@GLib.VariantType.is_subtype_of] May be copied using