[glibmm] VariantType: Fix typo in VARIANT_TYPE_BYTESTRING_ARRAY.



commit a5316f038b4993ec9997dbb73f15804eb5d30315
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Apr 8 20:35:47 2014 +0200

    VariantType: Fix typo in VARIANT_TYPE_BYTESTRING_ARRAY.
    
    * gio/src/varianttype.ccg: VARIANT_TYPE_BYTESTRING_ARRAY was set
      to G_VARIANT_TYPE_STRING_ARRAY instead of
      G_VARIANT_TYPE_BYTESTRING_ARRAY, causing VariantDict::lookup_value()
      to fail on an array of filenames when given a vector<std::string>.

 glib/src/varianttype.ccg |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/src/varianttype.ccg b/glib/src/varianttype.ccg
index 5493ead..71d34d9 100644
--- a/glib/src/varianttype.ccg
+++ b/glib/src/varianttype.ccg
@@ -114,7 +114,7 @@ const VariantType VARIANT_TYPE_STRING_ARRAY(G_VARIANT_TYPE_STRING_ARRAY);
 
 const VariantType VARIANT_TYPE_BYTESTRING(G_VARIANT_TYPE_BYTESTRING);
 
-const VariantType VARIANT_TYPE_BYTESTRING_ARRAY(G_VARIANT_TYPE_STRING_ARRAY);
+const VariantType VARIANT_TYPE_BYTESTRING_ARRAY(G_VARIANT_TYPE_BYTESTRING_ARRAY);
 
 std::string VariantType::get_string() const
 {


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