mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 05:56:14 +01:00
docs: Fix typo in the GObject tutorial
The description of the instance construction does not match the example.
This commit is contained in:
parent
b97e5cb21b
commit
bc277bfcef
@ -105,9 +105,9 @@ ViewerFile *file = g_object_new (VIEWER_TYPE_FILE, NULL);
|
||||
This will make sure the class structure of this new object is
|
||||
correctly initialized. Here, <function>viewer_file_class_init</function>
|
||||
is expected to override the object's class methods and setup the
|
||||
class' own methods. In the example above, the constructor method is
|
||||
the only overridden method: it is set to
|
||||
<function>viewer_file_constructor</function>.
|
||||
class' own methods. In the example above, the <literal>constructed</literal>
|
||||
method is the only overridden method: it is set to
|
||||
<function>viewer_file_constructed</function>.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
|
Loading…
Reference in New Issue
Block a user