From d324947dea03495c659df385fecc9dab1717309f Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 26 Jul 2021 17:27:39 +0100 Subject: 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. --- docs/website/annotations/giannotations.rst | 8 ++++---- 1 file 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 ` :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 -- cgit v1.2.1