glib r7707 - in trunk: docs/reference docs/reference/gobject gobject
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r7707 - in trunk: docs/reference docs/reference/gobject gobject
- Date: Fri, 28 Nov 2008 23:53:13 +0000 (UTC)
Author: matthiasc
Date: Fri Nov 28 23:53:13 2008
New Revision: 7707
URL: http://svn.gnome.org/viewvc/glib?rev=7707&view=rev
Log:
Fix some documentation typos
Modified:
trunk/docs/reference/ChangeLog
trunk/docs/reference/gobject/tut_gobject.xml
trunk/docs/reference/gobject/tut_gsignal.xml
trunk/docs/reference/gobject/tut_howto.xml
trunk/gobject/ChangeLog
trunk/gobject/gsignal.c
Modified: trunk/docs/reference/gobject/tut_gobject.xml
==============================================================================
--- trunk/docs/reference/gobject/tut_gobject.xml (original)
+++ trunk/docs/reference/gobject/tut_gobject.xml Fri Nov 28 23:53:13 2008
@@ -725,7 +725,7 @@
<para>
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.
</para>
Modified: trunk/docs/reference/gobject/tut_gsignal.xml
==============================================================================
--- trunk/docs/reference/gobject/tut_gsignal.xml (original)
+++ trunk/docs/reference/gobject/tut_gsignal.xml Fri Nov 28 23:53:13 2008
@@ -501,7 +501,7 @@
<para>
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 <emphasis>notify</emphasis> signal of GObject: whenever a property is modified on a GObject,
instead of just emitting the <emphasis>notify</emphasis> 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
Modified: trunk/docs/reference/gobject/tut_howto.xml
==============================================================================
--- trunk/docs/reference/gobject/tut_howto.xml (original)
+++ trunk/docs/reference/gobject/tut_howto.xml Fri Nov 28 23:53:13 2008
@@ -319,7 +319,7 @@
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. */
Modified: trunk/gobject/gsignal.c
==============================================================================
--- trunk/gobject/gsignal.c (original)
+++ trunk/gobject/gsignal.c Fri Nov 28 23:53:13 2008
@@ -1480,19 +1480,19 @@
* 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.)
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]