Docs: Changed can not to cannot.

This commit is contained in:
Murray Cumming 2011-03-24 09:33:55 +01:00
parent 16358f76f6
commit 30fdc1a799
14 changed files with 20 additions and 20 deletions

View File

@ -77,7 +77,7 @@
* object paths that you wish to register are registered before * object paths that you wish to register are registered before
* #GApplication attempts to acquire the bus name of your application * #GApplication attempts to acquire the bus name of your application
* (which happens in g_application_register()). Unfortunately, this * (which happens in g_application_register()). Unfortunately, this
* means that you can not use g_application_get_is_remote() to decide if * means that you cannot use g_application_get_is_remote() to decide if
* you want to register object paths. * you want to register object paths.
* *
* GApplication provides convenient life cycle management by maintaining * GApplication provides convenient life cycle management by maintaining
@ -945,7 +945,7 @@ g_application_get_is_registered (GApplication *application)
* perform actions on @application will result in the actions being * perform actions on @application will result in the actions being
* performed by the primary instance. * performed by the primary instance.
* *
* The value of this property can not be accessed before * The value of this property cannot be accessed before
* g_application_register() has been called. See * g_application_register() has been called. See
* g_application_get_is_registered(). * g_application_get_is_registered().
* *

View File

@ -217,7 +217,7 @@ typedef gboolean (*GSettingsGetMapping) (GVarian
* value initially from the setting, but do not listen for changes of the setting * value initially from the setting, but do not listen for changes of the setting
* @G_SETTINGS_BIND_INVERT_BOOLEAN: When passed to g_settings_bind(), uses a pair of mapping functions that invert * @G_SETTINGS_BIND_INVERT_BOOLEAN: When passed to g_settings_bind(), uses a pair of mapping functions that invert
* the boolean value when mapping between the setting and the property. The setting and property must both * the boolean value when mapping between the setting and the property. The setting and property must both
* be booleans. You can not pass this flag to g_settings_bind_with_mapping(). * be booleans. You cannot pass this flag to g_settings_bind_with_mapping().
* *
* Flags used when creating a binding. These flags determine in which * Flags used when creating a binding. These flags determine in which
* direction the binding works. The default is to synchronize in both * direction the binding works. The default is to synchronize in both

View File

@ -135,7 +135,7 @@ gvdb_table_setup_root (GvdbTable *file,
* Creates a new #GvdbTable from the contents of the file found at * Creates a new #GvdbTable from the contents of the file found at
* @filename. * @filename.
* *
* The only time this function fails is if the file can not be opened. * The only time this function fails is if the file cannot be opened.
* In that case, the #GError that is returned will be an error from * In that case, the #GError that is returned will be an error from
* g_mapped_file_new(). * g_mapped_file_new().
* *

View File

@ -76,7 +76,7 @@ static const SchemaTest tests[] = {
{ "enum-with-repeated-value", NULL, "*value='1' already specified*" }, { "enum-with-repeated-value", NULL, "*value='1' already specified*" },
{ "enum-with-chained-alias", NULL, "*'sausages' is not in enumerated type*" }, { "enum-with-chained-alias", NULL, "*'sausages' is not in enumerated type*" },
{ "enum-with-shadow-alias", NULL, "*'mash' is already a member of the enum*" }, { "enum-with-shadow-alias", NULL, "*'mash' is already a member of the enum*" },
{ "enum-with-choice", NULL, "*<choices> can not be specified*" }, { "enum-with-choice", NULL, "*<choices> cannot be specified*" },
{ "enum-with-bad-default", NULL, "*<default> is not a valid member*" }, { "enum-with-bad-default", NULL, "*<default> is not a valid member*" },
{ "choice", NULL, NULL }, { "choice", NULL, NULL },
{ "choice-upside-down", NULL, NULL }, { "choice-upside-down", NULL, NULL },

View File

@ -2161,7 +2161,7 @@ g_uri_list_extract_uris (const gchar *uri_list)
* for instance there might be problems converting it to UTF-8, and some files * for instance there might be problems converting it to UTF-8, and some files
* can be translated in the display. * can be translated in the display.
* *
* If GLib can not make sense of the encoding of @filename, as a last resort it * If GLib cannot make sense of the encoding of @filename, as a last resort it
* replaces unknown characters with U+FFFD, the Unicode replacement character. * replaces unknown characters with U+FFFD, the Unicode replacement character.
* You can search the result for the UTF-8 encoding of this character (which is * You can search the result for the UTF-8 encoding of this character (which is
* "\357\277\275" in octal notation) to find out if @filename was in an invalid * "\357\277\275" in octal notation) to find out if @filename was in an invalid
@ -2202,7 +2202,7 @@ g_filename_display_basename (const gchar *filename)
* Unlike g_filename_to_utf8(), the result is guaranteed to be non-%NULL * Unlike g_filename_to_utf8(), the result is guaranteed to be non-%NULL
* even if the filename actually isn't in the GLib file name encoding. * even if the filename actually isn't in the GLib file name encoding.
* *
* If GLib can not make sense of the encoding of @filename, as a last resort it * If GLib cannot make sense of the encoding of @filename, as a last resort it
* replaces unknown characters with U+FFFD, the Unicode replacement character. * replaces unknown characters with U+FFFD, the Unicode replacement character.
* You can search the result for the UTF-8 encoding of this character (which is * You can search the result for the UTF-8 encoding of this character (which is
* "\357\277\275" in octal notation) to find out if @filename was in an invalid * "\357\277\275" in octal notation) to find out if @filename was in an invalid

View File

@ -951,12 +951,12 @@ g_io_channel_get_line_term (GIOChannel *channel,
* %O_NONBLOCK/%O_NDELAY (see the documentation of * %O_NONBLOCK/%O_NDELAY (see the documentation of
* the UNIX open() syscall). * the UNIX open() syscall).
* @G_IO_FLAG_IS_READABLE: indicates that the io channel is readable. * @G_IO_FLAG_IS_READABLE: indicates that the io channel is readable.
* This flag can not be changed. * This flag cannot be changed.
* @G_IO_FLAG_IS_WRITEABLE: indicates that the io channel is writable. * @G_IO_FLAG_IS_WRITEABLE: indicates that the io channel is writable.
* This flag can not be changed. * This flag cannot be changed.
* @G_IO_FLAG_IS_SEEKABLE: indicates that the io channel is seekable, * @G_IO_FLAG_IS_SEEKABLE: indicates that the io channel is seekable,
* i.e. that g_io_channel_seek_position() can * i.e. that g_io_channel_seek_position() can
* be used on it. This flag can not be changed. * be used on it. This flag cannot be changed.
* @G_IO_FLAG_MASK: the mask that specifies all the valid flags. * @G_IO_FLAG_MASK: the mask that specifies all the valid flags.
* @G_IO_FLAG_GET_MASK: the mask of the flags that are returned from * @G_IO_FLAG_GET_MASK: the mask of the flags that are returned from
* g_io_channel_get_flags(). * g_io_channel_get_flags().

View File

@ -821,7 +821,7 @@ _g_log_fallback_handler (const gchar *log_domain,
gboolean is_fatal = (log_level & G_LOG_FLAG_FATAL) != 0; gboolean is_fatal = (log_level & G_LOG_FLAG_FATAL) != 0;
int fd; int fd;
/* we can not call _any_ GLib functions in this fallback handler, /* we cannot call _any_ GLib functions in this fallback handler,
* which is why we skip UTF-8 conversion, etc. * which is why we skip UTF-8 conversion, etc.
* since we either recursed or ran out of memory, we're in a pretty * since we either recursed or ran out of memory, we're in a pretty
* pathologic situation anyways, what we can do is giving the * pathologic situation anyways, what we can do is giving the

View File

@ -443,7 +443,7 @@ GThreadFunctions g_thread_functions_for_glib_use = {
* #GStaticMutex provides a simpler and safer way of doing this. * #GStaticMutex provides a simpler and safer way of doing this.
* *
* If you want to use a mutex, and your code should also work without * If you want to use a mutex, and your code should also work without
* calling g_thread_init() first, then you can not use a #GMutex, as * calling g_thread_init() first, then you cannot use a #GMutex, as
* g_mutex_new() requires that the thread system be initialized. Use a * g_mutex_new() requires that the thread system be initialized. Use a
* #GStaticMutex instead. * #GStaticMutex instead.
* *
@ -736,7 +736,7 @@ GThreadFunctions g_thread_functions_for_glib_use = {
* <note><para>@destructor is used quite differently from @notify in * <note><para>@destructor is used quite differently from @notify in
* g_static_private_set().</para></note> * g_static_private_set().</para></note>
* *
* <note><para>A #GPrivate can not be freed. Reuse it instead, if you * <note><para>A #GPrivate cannot be freed. Reuse it instead, if you
* can, to avoid shortage, or use #GStaticPrivate.</para></note> * can, to avoid shortage, or use #GStaticPrivate.</para></note>
* *
* <note><para>This function will abort if g_thread_init() has not been * <note><para>This function will abort if g_thread_init() has not been

View File

@ -901,7 +901,7 @@ g_thread_pool_stop_unused_threads (void)
* just in the order in which they were added to the pool. * just in the order in which they were added to the pool.
* *
* Note, if the maximum number of threads is more than 1, the order * Note, if the maximum number of threads is more than 1, the order
* that threads are executed can not be guranteed 100%. Threads are * that threads are executed cannot be guranteed 100%. Threads are
* scheduled by the operating system and are executed at random. It * scheduled by the operating system and are executed at random. It
* cannot be assumed that threads are executed in the order they are * cannot be assumed that threads are executed in the order they are
* created. * created.

View File

@ -49,7 +49,7 @@
* #GVariant instances always have a type and a value (which are given * #GVariant instances always have a type and a value (which are given
* at construction time). The type and value of a #GVariant instance * at construction time). The type and value of a #GVariant instance
* can never change other than by the #GVariant itself being * can never change other than by the #GVariant itself being
* destroyed. A #GVariant can not contain a pointer. * destroyed. A #GVariant cannot contain a pointer.
* *
* #GVariant is reference counted using g_variant_ref() and * #GVariant is reference counted using g_variant_ref() and
* g_variant_unref(). #GVariant also has floating reference counts -- * g_variant_unref(). #GVariant also has floating reference counts --
@ -2419,7 +2419,7 @@ g_variant_equal (gconstpointer one,
* *
* It is a programmer error to attempt to compare container values or * It is a programmer error to attempt to compare container values or
* two values that have types that are not exactly equal. For example, * two values that have types that are not exactly equal. For example,
* you can not compare a 32-bit signed integer with a 32-bit unsigned * you cannot compare a 32-bit signed integer with a 32-bit unsigned
* integer. Also note that this function is not particularly * integer. Also note that this function is not particularly
* well-behaved when it comes to comparison of doubles; in particular, * well-behaved when it comes to comparison of doubles; in particular,
* the handling of incomparable values (ie: NaN) is undefined. * the handling of incomparable values (ie: NaN) is undefined.

View File

@ -80,7 +80,7 @@
* that are subtypes of indefinite types. That is to say, * that are subtypes of indefinite types. That is to say,
* g_variant_get_type() will never return an indefinite type, but * g_variant_get_type() will never return an indefinite type, but
* calling g_variant_is_of_type() with an indefinite type may return * calling g_variant_is_of_type() with an indefinite type may return
* %TRUE. For example, you can not have a value that represents "an * %TRUE. For example, you cannot have a value that represents "an
* array of no particular type", but you can have an "array of integers" * array of no particular type", but you can have an "array of integers"
* which certainly matches the type of "an array of no particular type", * which certainly matches the type of "an array of no particular type",
* since "array of integers" is a subtype of "array of no particular * since "array of integers" is a subtype of "array of no particular

View File

@ -335,7 +335,7 @@ G_BEGIN_DECLS
* G_TYPE_IS_ABSTRACT: * G_TYPE_IS_ABSTRACT:
* @type: A #GType value. * @type: A #GType value.
* *
* Checks if @type is an abstract type. An abstract type can not be * Checks if @type is an abstract type. An abstract type cannot be
* instantiated and is normally used as an abstract base class for * instantiated and is normally used as an abstract base class for
* derived classes. * derived classes.
* *

View File

@ -49,7 +49,7 @@
* types and interface implementations are in use, the module is kept * types and interface implementations are in use, the module is kept
* loaded. When the types and interfaces are gone, the module may be * loaded. When the types and interfaces are gone, the module may be
* unloaded. If the types and interfaces become used again, the module * unloaded. If the types and interfaces become used again, the module
* will be reloaded. Note that the last unref can not happen in module * will be reloaded. Note that the last unref cannot happen in module
* code, since that would lead to the caller's code being unloaded before * code, since that would lead to the caller's code being unloaded before
* g_object_unref() returns to it. * g_object_unref() returns to it.
* *

View File

@ -101,7 +101,7 @@ typedef void (*GValueTransform) (const GValue *src_value,
* to functions within a #GTypeValueTable structure, or implementations of * to functions within a #GTypeValueTable structure, or implementations of
* the g_value_*() API. That is, code portions which implement new fundamental * the g_value_*() API. That is, code portions which implement new fundamental
* types. * types.
* #GValue users can not make any assumptions about how data is stored * #GValue users cannot make any assumptions about how data is stored
* within the 2 element @data union, and the @g_type member should * within the 2 element @data union, and the @g_type member should
* only be accessed through the G_VALUE_TYPE() macro. * only be accessed through the G_VALUE_TYPE() macro.
*/ */