glib r7856 - in trunk: . gio glib
- From: murrayc svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r7856 - in trunk: . gio glib
- Date: Fri, 6 Feb 2009 14:08:19 +0000 (UTC)
Author: murrayc
Date: Fri Feb 6 14:08:19 2009
New Revision: 7856
URL: http://svn.gnome.org/viewvc/glib?rev=7856&view=rev
Log:
2009-02-06 Murray Cumming <murrayc murrayc com>
* gio/gfilterinputstream.c:
* gio/gfilteroutputstream.c: Correct the grammar in some property
documentation.
* gio/gdatainputstream.c:
* glib/gregex.c: Correct the spelling of
occurrence in documentation.
Modified:
trunk/ChangeLog
trunk/gio/gdatainputstream.c
trunk/gio/gfilterinputstream.c
trunk/gio/gfilteroutputstream.c
trunk/glib/gmarkup.c
trunk/glib/gregex.c
Modified: trunk/gio/gdatainputstream.c
==============================================================================
--- trunk/gio/gdatainputstream.c (original)
+++ trunk/gio/gdatainputstream.c Fri Feb 6 14:08:19 2009
@@ -861,7 +861,7 @@
* @error: #GError for error reporting.
*
* Reads a string from the data input stream, up to the first
- * occurrance of any of the stop characters.
+ * occurrence of any of the stop characters.
*
* Returns: a string with the data that was read before encountering
* any of the stop characters. Set @length to a #gsize to get the length
Modified: trunk/gio/gfilterinputstream.c
==============================================================================
--- trunk/gio/gfilterinputstream.c (original)
+++ trunk/gio/gfilterinputstream.c Fri Feb 6 14:08:19 2009
@@ -132,7 +132,7 @@
PROP_BASE_STREAM,
g_param_spec_object ("base-stream",
P_("The Filter Base Stream"),
- P_("The underlying base stream the io ops will be done on"),
+ P_("The underlying base stream on which the io ops will be done."),
G_TYPE_INPUT_STREAM,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
@@ -141,7 +141,7 @@
PROP_CLOSE_BASE,
g_param_spec_boolean ("close-base-stream",
P_("Close Base Stream"),
- P_("If the base stream be closed when the filter stream is"),
+ P_("If the base stream should be closed when the filter stream is closed."),
TRUE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
}
Modified: trunk/gio/gfilteroutputstream.c
==============================================================================
--- trunk/gio/gfilteroutputstream.c (original)
+++ trunk/gio/gfilteroutputstream.c Fri Feb 6 14:08:19 2009
@@ -131,7 +131,7 @@
PROP_BASE_STREAM,
g_param_spec_object ("base-stream",
P_("The Filter Base Stream"),
- P_("The underlying base stream the io ops will be done on"),
+ P_("The underlying base stream on which the io ops will be done."),
G_TYPE_OUTPUT_STREAM,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
@@ -140,7 +140,7 @@
PROP_CLOSE_BASE,
g_param_spec_boolean ("close-base-stream",
P_("Close Base Stream"),
- P_("If the base stream be closed when the filter stream is"),
+ P_("If the base stream should be closed when the filter stream is closed."),
TRUE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
}
Modified: trunk/glib/gmarkup.c
==============================================================================
--- trunk/glib/gmarkup.c (original)
+++ trunk/glib/gmarkup.c Fri Feb 6 14:08:19 2009
@@ -2930,7 +2930,7 @@
/* duplicate! */
break;
- /* j is now the first occurance of attribute_names[i] */
+ /* j is now the first occurrence of attribute_names[i] */
if (i == j)
g_set_error (error, G_MARKUP_ERROR,
G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE,
Modified: trunk/glib/gregex.c
==============================================================================
--- trunk/glib/gregex.c (original)
+++ trunk/glib/gregex.c Fri Feb 6 14:08:19 2009
@@ -2379,7 +2379,7 @@
* @match_options: options for the match
* @error: location to store the error occuring, or %NULL to ignore errors
*
- * Replaces all occurances of the pattern in @regex with the
+ * Replaces all occurrences of the pattern in @regex with the
* replacement text. Backreferences of the form '\number' or
* '\g<number>' in the replacement text are interpolated by the
* number-th captured subexpression of the match, '\g<name>' refers
@@ -2491,7 +2491,7 @@
* @match_options: options for the match
* @error: location to store the error occuring, or %NULL to ignore errors
*
- * Replaces all occurances of the pattern in @regex with the
+ * Replaces all occurrences of the pattern in @regex with the
* replacement text. @replacement is replaced literally, to
* include backreferences use g_regex_replace().
*
@@ -2535,8 +2535,8 @@
* @user_data: user data to pass to the function
* @error: location to store the error occuring, or %NULL to ignore errors
*
- * Replaces occurances of the pattern in regex with the output of
- * @eval for that occurance.
+ * Replaces occurrences of the pattern in regex with the output of
+ * @eval for that occurrence.
*
* Setting @start_position differs from just passing over a shortened
* string and setting #G_REGEX_MATCH_NOTBOL in the case of a pattern
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]