From bda683f786409870dab959eea14bc3be817883f3 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 6 Aug 2005 03:40:07 +0000 Subject: [PATCH] Small fixes. 2005-08-05 Matthias Clasen * gobject/tmpl/gparamspec.sgml: * glib/tmpl/types.sgml: * glib/tmpl/option.sgml: Small fixes. --- docs/reference/ChangeLog | 4 ++++ docs/reference/glib/tmpl/option.sgml | 8 ++------ docs/reference/glib/tmpl/types.sgml | 2 +- docs/reference/gobject/tmpl/gparamspec.sgml | 9 +++++---- 4 files changed, 12 insertions(+), 11 deletions(-) diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 7bc271f50..4d5b0d796 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,5 +1,9 @@ 2005-08-05 Matthias Clasen + * 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 diff --git a/docs/reference/glib/tmpl/option.sgml b/docs/reference/glib/tmpl/option.sgml index b48dc585c..2e28a50df 100644 --- a/docs/reference/glib/tmpl/option.sgml +++ b/docs/reference/glib/tmpl/option.sgml @@ -444,9 +444,7 @@ the application can then add to its #GOptionContext. The type of function that can be called before and after parsing. -@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. -@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() diff --git a/docs/reference/glib/tmpl/types.sgml b/docs/reference/glib/tmpl/types.sgml index f618a34d1..491e01db2 100644 --- a/docs/reference/glib/tmpl/types.sgml +++ b/docs/reference/glib/tmpl/types.sgml @@ -43,7 +43,7 @@ for completeness - #gchar, #gint, #gshort, #glong, #gfloat, #gdouble. A standard boolean 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. diff --git a/docs/reference/gobject/tmpl/gparamspec.sgml b/docs/reference/gobject/tmpl/gparamspec.sgml index e408fd8e6..b658c7ef6 100644 --- a/docs/reference/gobject/tmpl/gparamspec.sgml +++ b/docs/reference/gobject/tmpl/gparamspec.sgml @@ -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 -g_param_spec_ref (@pspec); g_param_spec_sink (@pspec); +g_param_spec_ref (pspec); g_param_spec_sink (pspec); 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. @@ -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(). + Registers @name as the name of a new static type derived from