[glibmm/glibmm-2-38] VariantType: Fix typo in VARIANT_TYPE_BYTESTRING_ARRAY.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm/glibmm-2-38] VariantType: Fix typo in VARIANT_TYPE_BYTESTRING_ARRAY.
- Date: Mon, 14 Apr 2014 08:21:25 +0000 (UTC)
commit c43003668d64c1459f626c061bad3e86295477dd
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]