[glib: 1/2] gvariant: Fix a mistake in docs



commit 09eb87ad557c236b151d09146c52ea18c846e91c
Author: Krzesimir Nowak <qdlacz gmail com>
Date:   Sat Jan 26 21:45:17 2019 +0100

    gvariant: Fix a mistake in docs
    
    So now the docs actually match what the code does.

 glib/gvariant.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/glib/gvariant.c b/glib/gvariant.c
index 983d4704c..0b6edc2ab 100644
--- a/glib/gvariant.c
+++ b/glib/gvariant.c
@@ -1013,7 +1013,7 @@ g_variant_lookup (GVariant    *dictionary,
  * string specifies what type of value is expected to be inside of the
  * variant. If the value inside the variant has a different type then
  * %NULL is returned. In the event that @dictionary has a value type other
- * than v then @expected_type must directly match the key type and it is
+ * than v then @expected_type must directly match the value type and it is
  * used to unpack the value directly or an error occurs.
  *
  * In either case, if @key is not found in @dictionary, %NULL is returned.


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