From bc277bfcefac54e705ae71eac1e5c836cb69cdfc Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Sat, 25 Nov 2017 10:24:07 +0000 Subject: [PATCH] docs: Fix typo in the GObject tutorial The description of the instance construction does not match the example. --- docs/reference/gobject/tut_gobject.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/reference/gobject/tut_gobject.xml b/docs/reference/gobject/tut_gobject.xml index 8097cb649..ac5c8e1e7 100644 --- a/docs/reference/gobject/tut_gobject.xml +++ b/docs/reference/gobject/tut_gobject.xml @@ -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, viewer_file_class_init 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 - viewer_file_constructor. + class' own methods. In the example above, the constructed + method is the only overridden method: it is set to + viewer_file_constructed.