mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
Small fixes.
2005-08-05 Matthias Clasen <mclasen@redhat.com> * gobject/tmpl/gparamspec.sgml: * glib/tmpl/types.sgml: * glib/tmpl/option.sgml: Small fixes.
This commit is contained in:
parent
f1e1727ce7
commit
bda683f786
@ -1,5 +1,9 @@
|
|||||||
2005-08-05 Matthias Clasen <mclasen@redhat.com>
|
2005-08-05 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* gobject/tmpl/gparamspec.sgml:
|
||||||
|
* glib/tmpl/types.sgml:
|
||||||
|
* glib/tmpl/option.sgml: Small fixes.
|
||||||
|
|
||||||
* gobject/tmpl/generic_values.sgml: Small fixes
|
* gobject/tmpl/generic_values.sgml: Small fixes
|
||||||
|
|
||||||
2005-08-05 Matthias Clasen <mclasen@redhat.com>
|
2005-08-05 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
@ -444,9 +444,7 @@ the application can then add to its #GOptionContext.
|
|||||||
The type of function that can be called before and after parsing.
|
The type of function that can be called before and after parsing.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@context The active #GOptionContext
|
@context: The active #GOptionContext
|
||||||
|
|
||||||
@context:
|
|
||||||
@group: The group to which the function belongs
|
@group: The group to which the function belongs
|
||||||
@data: User data added to the #GOptionGroup containing the option when it
|
@data: User data added to the #GOptionGroup containing the option when it
|
||||||
was created with g_option_group_new()
|
was created with g_option_group_new()
|
||||||
@ -471,9 +469,7 @@ The type of function to be used as callback when a parse error
|
|||||||
occurs.
|
occurs.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@context The active #GOptionContext
|
@context: The active #GOptionContext
|
||||||
|
|
||||||
@context:
|
|
||||||
@group: The group to which the function belongs
|
@group: The group to which the function belongs
|
||||||
@data: User data added to the #GOptionGroup containing the option when it
|
@data: User data added to the #GOptionGroup containing the option when it
|
||||||
was created with g_option_group_new()
|
was created with g_option_group_new()
|
||||||
|
@ -43,7 +43,7 @@ for completeness - #gchar, #gint, #gshort, #glong, #gfloat, #gdouble.
|
|||||||
<!-- ##### TYPEDEF gboolean ##### -->
|
<!-- ##### TYPEDEF gboolean ##### -->
|
||||||
<para>
|
<para>
|
||||||
A standard <type>boolean</type> type.
|
A standard <type>boolean</type> type.
|
||||||
Variables of this type should only contain the value #TRUE or #FALSE.
|
Variables of this type should only contain the value %TRUE or %FALSE.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
@ -196,7 +196,7 @@ Decrements the reference count of a @pspec.
|
|||||||
The initial reference count of a newly created #GParamSpec is 1, even
|
The initial reference count of a newly created #GParamSpec is 1, even
|
||||||
though no one has explicitly called g_param_spec_ref() on it yet. So the
|
though no one has explicitly called g_param_spec_ref() on it yet. So the
|
||||||
initial reference count is flagged as "floating", until someone calls
|
initial reference count is flagged as "floating", until someone calls
|
||||||
<literal>g_param_spec_ref (@pspec); g_param_spec_sink (@pspec);</literal>
|
<literal>g_param_spec_ref (pspec); g_param_spec_sink (pspec);</literal>
|
||||||
in sequence on it, taking over the initial reference count (thus
|
in sequence on it, taking over the initial reference count (thus
|
||||||
ending up with a @pspec that has a reference count of 1 still, but is
|
ending up with a @pspec that has a reference count of 1 still, but is
|
||||||
not flagged "floating" anymore).
|
not flagged "floating" anymore).
|
||||||
@ -254,7 +254,7 @@ g_param_value_validate().
|
|||||||
@src_value: souce #GValue
|
@src_value: souce #GValue
|
||||||
@dest_value: destination #GValue of correct type for @pspec
|
@dest_value: destination #GValue of correct type for @pspec
|
||||||
@strict_validation: %TRUE requires @dest_value to conform to @pspec without modifications
|
@strict_validation: %TRUE requires @dest_value to conform to @pspec without modifications
|
||||||
@Returns: %TRUE if transformation and validation were successfull,
|
@Returns: %TRUE if transformation and validation were successful,
|
||||||
%FALSE otherwise and @dest_value is left untouched.
|
%FALSE otherwise and @dest_value is left untouched.
|
||||||
|
|
||||||
|
|
||||||
@ -314,7 +314,7 @@ Sets an opaque, named pointer on a #GParamSpec. The name is specified
|
|||||||
through a #GQuark (retrieved e.g. via g_quark_from_static_string()), and
|
through a #GQuark (retrieved e.g. via g_quark_from_static_string()), and
|
||||||
the pointer can be gotten back from the @pspec with g_param_spec_get_qdata().
|
the pointer can be gotten back from the @pspec with g_param_spec_get_qdata().
|
||||||
Setting a previously set user data pointer, overrides (frees)
|
Setting a previously set user data pointer, overrides (frees)
|
||||||
the old pointer set, using #NULL as pointer essentially
|
the old pointer set, using %NULL as pointer essentially
|
||||||
removes the data stored.
|
removes the data stored.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@ -358,7 +358,7 @@ user data pointers with a destroy notifier.
|
|||||||
If the paramspec redirects operations to another paramspec,
|
If the paramspec redirects operations to another paramspec,
|
||||||
returns that paramspec. Redirect is used typically for
|
returns that paramspec. Redirect is used typically for
|
||||||
providing a new implementation of a property in a derived
|
providing a new implementation of a property in a derived
|
||||||
type while perserving all the properties from the parent
|
type while preserving all the properties from the parent
|
||||||
type. Redirection is established by creating a property
|
type. Redirection is established by creating a property
|
||||||
of type #GParamSpecOverride. See g_object_override_property()
|
of type #GParamSpecOverride. See g_object_override_property()
|
||||||
for an example of the use of this capability.
|
for an example of the use of this capability.
|
||||||
@ -419,6 +419,7 @@ g_param_type_register_static().
|
|||||||
@values_cmp: Compares @value1 with @value2 according to @pspec
|
@values_cmp: Compares @value1 with @value2 according to @pspec
|
||||||
(recommended, the default is memcmp()), see g_param_values_cmp().
|
(recommended, the default is memcmp()), see g_param_values_cmp().
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_param_type_register_static ##### -->
|
<!-- ##### FUNCTION g_param_type_register_static ##### -->
|
||||||
<para>
|
<para>
|
||||||
Registers @name as the name of a new static type derived from
|
Registers @name as the name of a new static type derived from
|
||||||
|
Loading…
Reference in New Issue
Block a user