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:
Matthias Clasen 2005-08-06 03:40:07 +00:00 committed by Matthias Clasen
parent f1e1727ce7
commit bda683f786
4 changed files with 12 additions and 11 deletions

View File

@ -1,5 +1,9 @@
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
2005-08-05 Matthias Clasen <mclasen@redhat.com>

View File

@ -444,9 +444,7 @@ the application can then add to its #GOptionContext.
The type of function that can be called before and after parsing.
</para>
@context The active #GOptionContext
@context:
@context: The active #GOptionContext
@group: The group to which the function belongs
@data: User data added to the #GOptionGroup containing the option when it
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.
</para>
@context The active #GOptionContext
@context:
@context: The active #GOptionContext
@group: The group to which the function belongs
@data: User data added to the #GOptionGroup containing the option when it
was created with g_option_group_new()

View File

@ -43,7 +43,7 @@ for completeness - #gchar, #gint, #gshort, #glong, #gfloat, #gdouble.
<!-- ##### TYPEDEF gboolean ##### -->
<para>
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>

View File

@ -196,7 +196,7 @@ Decrements the reference count of a @pspec.
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
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
ending up with a @pspec that has a reference count of 1 still, but is
not flagged "floating" anymore).
@ -254,7 +254,7 @@ g_param_value_validate().
@src_value: souce #GValue
@dest_value: destination #GValue of correct type for @pspec
@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.
@ -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
the pointer can be gotten back from the @pspec with g_param_spec_get_qdata().
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.
</para>
@ -358,7 +358,7 @@ user data pointers with a destroy notifier.
If the paramspec redirects operations to another paramspec,
returns that paramspec. Redirect is used typically for
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
of type #GParamSpecOverride. See g_object_override_property()
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
(recommended, the default is memcmp()), see g_param_values_cmp().
<!-- ##### FUNCTION g_param_type_register_static ##### -->
<para>
Registers @name as the name of a new static type derived from