[glib/gvariantiter] Fix a few typos



commit 7c88e6564cae807b42a695061fda9c0e61d31613
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Feb 20 22:03:16 2010 -0500

    Fix a few typos

 glib/gvariant.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/glib/gvariant.c b/glib/gvariant.c
index e1a0c60..9088414 100644
--- a/glib/gvariant.c
+++ b/glib/gvariant.c
@@ -2050,7 +2050,7 @@ g_variant_iter_next_value (GVariantIter *iter)
 
   if G_UNLIKELY (GVSI(iter)->i >= GVSI(iter)->n)
     {
-      g_critical ("g_variant_iter_get: must not be called again "
+      g_critical ("g_variant_iter_next_value: must not be called again "
                   "after NULL has already been returned.");
       return NULL;
     }
@@ -2135,6 +2135,7 @@ g_variant_iter_next (GVariantIter *iter,
 }
 
 /**
+ * g_variant_iter_next_nofree:
  * @iter: a #GVariantIter
  * @format_string: a GVariant format string
  * @...: the arguments to unpack the value into
@@ -2146,7 +2147,7 @@ g_variant_iter_next (GVariantIter *iter,
  *
  * If no more items remain then %FALSE is returned.
  *
- * All of the pointers given on the varaible arguments list of this
+ * All of the pointers given on the variable arguments list of this
  * function are assumed to point at uninitialised memory.  It is the
  * responsibility of the caller to free all of the values returned by
  * the unpacking process.



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