summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2021-07-26 17:27:39 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2021-08-05 17:47:29 +0100
commitd324947dea03495c659df385fecc9dab1717309f (patch)
tree2984e99ae51d0a6ccd6e30b56cbf04e406fdd234
parent4bcb26d600e49ddafe8d1d12b33e0801ab243aac (diff)
downloadgobject-introspection-d324947dea03495c659df385fecc9dab1717309f.tar.gz
docs: Clarify scope of property-related annotations
The `set-property` and `get-property` identifier annotations only apply to methods. The `setter` and `getter` identifier annotations only apply to properties.
-rw-r--r--docs/website/annotations/giannotations.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/website/annotations/giannotations.rst b/docs/website/annotations/giannotations.rst
index 00c10db2..b37262fc 100644
--- a/docs/website/annotations/giannotations.rst
+++ b/docs/website/annotations/giannotations.rst
@@ -98,28 +98,28 @@ Support for GObject objects
- :commit:`v0.6.3 <fdbe3cc3>`
:bzbug:`557383`
* - ``(set-property NAME)``
- - identifier
+ - identifier (only applies to methods)
- This function is the setter method for the given GObject property.
A setter function is defined as being the public function that is
called by the ``GObjectClass.set_property`` implementation in a
class.
- :issue:`13`
* - ``(get-property NAME)``
- - identifier
+ - identifier (only applies to methods)
- This function is the getter method for the given GObject property.
A getter function is defined as being the public function that is
called by the ``GObjectClass.get_property`` implementation in a
class.
- :issue:`13`
* - ``(setter SYMBOL)``
- - identifier
+ - identifier (only applies to properties)
- This GObject property is accessed by the given setter function.
A setter function is defined as being the public function that is
called by the ``GObjectClass.set_property`` implementation in a
class.
- :issue:`13`
* - ``(getter SYMBOL)``
- - identifier
+ - identifier (only applies to properties)
- This GObject property is accessed by the given getter function.
A getter function is defined as being the public function that is
called by the ``GObjectClass.get_property`` implementation in a