← Back to team overview

zeitgeist team mailing list archive

[Branch ~zeitgeist/zeitgeist/bluebird] Rev 247: Fix payload marshalling (hopefully)

 

------------------------------------------------------------
revno: 247
committer: Michal Hruby <michal.mhr@xxxxxxxxx>
branch nick: bluebird
timestamp: Sat 2011-09-17 00:38:49 +0200
message:
  Fix payload marshalling (hopefully)
modified:
  src/datamodel.vala


--
lp:~zeitgeist/zeitgeist/bluebird
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird

Your team Zeitgeist Framework Team is subscribed to branch lp:~zeitgeist/zeitgeist/bluebird.
To unsubscribe from this branch go to https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'src/datamodel.vala'
--- src/datamodel.vala	2011-09-16 09:15:06 +0000
+++ src/datamodel.vala	2011-09-16 22:38:49 +0000
@@ -374,14 +374,12 @@
             }
             vb.close ();
 
-            vb.open (new VariantType ("ay"));
             if (payload != null)
             {
                 Variant payload_variant = Variant.new_from_data<ByteArray> (
                     new VariantType ("ay"), payload.data, false, payload);
                 vb.add_value (payload_variant);
             }
-            vb.close ();
 
             return vb.end ();
         }