[glib] Fix some typos in documentation



commit 24fdee7a78f9148fce173781128bd3287ca5ede1
Author: Mathieu Bridon <bochecha fedoraproject org>
Date:   Mon May 5 18:30:56 2014 +0800

    Fix some typos in documentation

 glib/genviron.c |    2 +-
 gobject/gtype.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glib/genviron.c b/glib/genviron.c
index c11b599..0a83ac9 100644
--- a/glib/genviron.c
+++ b/glib/genviron.c
@@ -256,7 +256,7 @@ g_getenv (const gchar *variable)
  * Note that on some systems, when variables are overwritten, the memory
  * used for the previous variables and its value isn't reclaimed.
  *
- * You should be mindful fo the fact that environment variable handling
+ * You should be mindful of the fact that environment variable handling
  * in UNIX is not thread-safe, and your program may crash if one thread
  * calls g_setenv() while another thread is calling getenv(). (And note
  * that many functions, such as gettext(), call getenv() internally.)
diff --git a/gobject/gtype.h b/gobject/gtype.h
index 41dd857..55efeea 100644
--- a/gobject/gtype.h
+++ b/gobject/gtype.h
@@ -994,7 +994,7 @@ typedef enum    /*< skip >*/
  *  and to do type-specific setup such as registering signals and object
  *  properties.
  * @class_finalize: Location of the class finalization function for
- *  classed and instantiatable types. Location fo the default vtable 
+ *  classed and instantiatable types. Location of the default vtable
  *  finalization function for interface types. (optional)
  * @class_data: User-supplied data passed to the class init/finalize functions.
  * @instance_size: Size of the instance (object) structure (required for instantiatable types only).


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]