[gnome-games] glchess: use StringBuilder.data
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] glchess: use StringBuilder.data
- Date: Sun, 5 Feb 2012 00:38:11 +0000 (UTC)
commit 1223f112b87625cd62c6cb9e05e92f2e4142823a
Author: Ryan Lortie <desrt desrt ca>
Date: Sat Feb 4 19:36:12 2012 -0500
glchess: use StringBuilder.data
We have this in Vala now, so use it.
glchess/src/chess-pgn.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glchess/src/chess-pgn.vala b/glchess/src/chess-pgn.vala
index ebce1b9..6a66bd3 100644
--- a/glchess/src/chess-pgn.vala
+++ b/glchess/src/chess-pgn.vala
@@ -160,7 +160,7 @@ public class PGNGame
data.append (result);
data.append ("\n");
- file.replace_contents (data.str.data, null, false, FileCreateFlags.NONE, null);
+ file.replace_contents (data.data, null, false, FileCreateFlags.NONE, null);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]