From db830dd381bb3e1566ee35aaae6f9f3161a3a818 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 28 Nov 2008 23:53:13 +0000 Subject: [PATCH] Fix some documentation typos svn path=/trunk/; revision=7707 --- docs/reference/ChangeLog | 10 ++++++++++ docs/reference/gobject/tut_gobject.xml | 2 +- docs/reference/gobject/tut_gsignal.xml | 2 +- docs/reference/gobject/tut_howto.xml | 2 +- gobject/ChangeLog | 7 +++++++ gobject/gsignal.c | 20 ++++++++++---------- 6 files changed, 30 insertions(+), 13 deletions(-) diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index a345829..de3cecd 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,5 +1,15 @@ 2008-11-28 Matthias Clasen + Bug 559452 – GObject Reference Manual (typo) + Bug 559462 – GObject Reference Manual (typo) + Bug 559517 – GObject Reference Manual (typo) + + * gobject/tut_howto.xml: + * gobject/tut_gsignal.xml: + * gobject/tut_gobject.xml: Fix typos, found by Andrew Feren. + +2008-11-28 Matthias Clasen + * gio/gio-sections.txt: Add g_app_info_get_commandline 2008-11-28 Matthias Clasen diff --git a/docs/reference/gobject/tut_gobject.xml b/docs/reference/gobject/tut_gobject.xml index e819b53..8282800 100644 --- a/docs/reference/gobject/tut_gobject.xml +++ b/docs/reference/gobject/tut_gobject.xml @@ -725,7 +725,7 @@ g_object_set (G_OBJECT (foo), These high level functions have one drawback - they don't provide a return result. One should pay attention to the argument types and ranges when using them. - A know source of errors is to e.g. pass a gfloat instead of a gdouble and thus + A known source of errors is to e.g. pass a gfloat instead of a gdouble and thus shifting all subsequent parameters by four bytes. Also forgetting the terminating NULL will lead to unexpected behaviour. diff --git a/docs/reference/gobject/tut_gsignal.xml b/docs/reference/gobject/tut_gsignal.xml index c372b88..74ccd98 100644 --- a/docs/reference/gobject/tut_gsignal.xml +++ b/docs/reference/gobject/tut_gsignal.xml @@ -501,7 +501,7 @@ void g_signal_emit_by_name (gpointer instance, This completely optional filtering mechanism is mainly used as an optimization for signals which are often emitted for many different reasons: the clients can filter out which events they are - interested into before the closure's marshalling code runs. For example, this is used extensively + interested in before the closure's marshalling code runs. For example, this is used extensively by the notify signal of GObject: whenever a property is modified on a GObject, instead of just emitting the notify signal, GObject associates as a detail to this signal emission the name of the property modified. This allows clients who wish to be notified of changes diff --git a/docs/reference/gobject/tut_howto.xml b/docs/reference/gobject/tut_howto.xml index 1785ce8..5d4acf7 100644 --- a/docs/reference/gobject/tut_howto.xml +++ b/docs/reference/gobject/tut_howto.xml @@ -319,7 +319,7 @@ G_DEFINE_TYPE (MamanBar, maman_bar, G_TYPE_OBJECT); static void maman_bar_init (MamanBar *self) { - self->private = MAMAN_BAR_GET_PRIVATE (self); + self->priv = MAMAN_BAR_GET_PRIVATE (self); /* initialize all public and private members to reasonable default values. */ diff --git a/gobject/ChangeLog b/gobject/ChangeLog index a6eacae..7137c6a 100644 --- a/gobject/ChangeLog +++ b/gobject/ChangeLog @@ -1,3 +1,10 @@ +2008-11-28 Matthias Clasen + + Bug 559456 – GObject Reference Manual (typo) + + * gsignal.c (g_signal_newv): Fix a typo in the docs, pointed out + by Andrew Feren + 2008-11-03 Matthias Clasen Bug 555935 – Clear the mechanism of overwriting properties diff --git a/gobject/gsignal.c b/gobject/gsignal.c index 1f0d2eb..9908e16 100644 --- a/gobject/gsignal.c +++ b/gobject/gsignal.c @@ -1480,19 +1480,19 @@ signal_add_class_closure (SignalNode *node, * g_signal_newv: * @signal_name: the name for the signal * @itype: the type this signal pertains to. It will also pertain to - * types which are derived from this type. + * types which are derived from this type * @signal_flags: a combination of #GSignalFlags specifying detail of when - * the default handler is to be invoked. You should at least specify - * %G_SIGNAL_RUN_FIRST or %G_SIGNAL_RUN_LAST. - * @class_closure: The closure to invoke on signal emission; may be %NULL. - * @accumulator: the accumulator for this signal; may be %NULL. - * @accu_data: user data for the @accumulator. + * the default handler is to be invoked. You should at least specify + * %G_SIGNAL_RUN_FIRST or %G_SIGNAL_RUN_LAST + * @class_closure: The closure to invoke on signal emission; may be %NULL + * @accumulator: the accumulator for this signal; may be %NULL + * @accu_data: user data for the @accumulator * @c_marshaller: the function to translate arrays of parameter values to - * signal emissions into C language callback invocations. + * signal emissions into C language callback invocations * @return_type: the type of return value, or #G_TYPE_NONE for a signal - * without a return value. - * @n_params: the length of @param_types. - * @param_types: an array types, one for each parameter. + * without a return value + * @n_params: the length of @param_types + * @param_types: an array of types, one for each parameter * * Creates a new signal. (This is usually done in the class initializer.) * -- 2.7.4