[rygel] core: Port to vala 0.11.2
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] core: Port to vala 0.11.2
- Date: Mon, 8 Nov 2010 21:01:48 +0000 (UTC)
commit 3c3224a8463baef7289fcb3781224deab8781415
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Mon Nov 8 22:59:26 2010 +0200
core: Port to vala 0.11.2
Do so without breaking the build against 0.11.2.
src/rygel/rygel-http-post.vala | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/rygel/rygel-http-post.vala b/src/rygel/rygel-http-post.vala
index 8e7ff9d..27bca01 100644
--- a/src/rygel/rygel-http-post.vala
+++ b/src/rygel/rygel-http-post.vala
@@ -97,7 +97,9 @@ internal class Rygel.HTTPPost : HTTPRequest {
private async void write_chunk (Buffer chunk) {
try {
- this.stream.write (chunk.data.data, this.cancellable);
+ // FIXME: Remove redundant cast to string after we bump our vala dep
+ // to 0.11.2
+ this.stream.write (((string) chunk.data).data, this.cancellable);
} catch (Error error) {
this.handle_error (error);
this.handle_continue ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]