gobject: fix broken links to parameters and signals naming rules

This commit is contained in:
gwillems 2024-05-21 22:32:20 +00:00 committed by Philip Withnall
parent af7c7c0495
commit d6e0cf9884
3 changed files with 8 additions and 9 deletions

View File

@ -1020,7 +1020,7 @@ g_object_do_class_init (GObjectClass *class)
* ]| * ]|
* *
* It is important to note that you must use * It is important to note that you must use
* [canonical parameter names][canonical-parameter-names] as * [canonical parameter names][class@GObject.ParamSpec#parameter-names] as
* detail strings for the notify signal. * detail strings for the notify signal.
*/ */
gobject_signals[NOTIFY] = gobject_signals[NOTIFY] =

View File

@ -389,8 +389,8 @@ is_canonical (const gchar *key)
* dynamically-generated properties which need to be validated at run-time * dynamically-generated properties which need to be validated at run-time
* before actually trying to create them. * before actually trying to create them.
* *
* See [canonical parameter names][canonical-parameter-names] for details of * See [canonical parameter names][class@GObject.ParamSpec#parameter-names]
* the rules for valid names. * for details of the rules for valid names.
* *
* Returns: %TRUE if @name is a valid property name, %FALSE otherwise. * Returns: %TRUE if @name is a valid property name, %FALSE otherwise.
* Since: 2.66 * Since: 2.66
@ -429,9 +429,9 @@ g_param_spec_is_valid_name (const gchar *name)
* *
* Creates a new #GParamSpec instance. * Creates a new #GParamSpec instance.
* *
* See [canonical parameter names][canonical-parameter-names] for details of * See [canonical parameter names][class@GObject.ParamSpec#parameter-names]
* the rules for @name. Names which violate these rules lead to undefined * for details of the rules for @name. Names which violate these rules lead
* behaviour. * to undefined behaviour.
* *
* Beyond the name, #GParamSpecs have two more descriptive strings, the * Beyond the name, #GParamSpecs have two more descriptive strings, the
* @nick and @blurb, which may be used as a localized label and description. * @nick and @blurb, which may be used as a localized label and description.

View File

@ -283,9 +283,8 @@ is_canonical (const gchar *key)
* Validate a signal name. This can be useful for dynamically-generated signals * Validate a signal name. This can be useful for dynamically-generated signals
* which need to be validated at run-time before actually trying to create them. * which need to be validated at run-time before actually trying to create them.
* *
* See [canonical parameter names][canonical-parameter-names] for details of * See [func@GObject.signal_new] for details of the rules for valid names.
* the rules for valid names. The rules for signal names are the same as those * The rules for signal names are the same as those for property names.
* for property names.
* *
* Returns: %TRUE if @name is a valid signal name, %FALSE otherwise. * Returns: %TRUE if @name is a valid signal name, %FALSE otherwise.
* Since: 2.66 * Since: 2.66