[gnome-games] glchess: Revert change 1223f112b87625cd62c6cb9e05e92f2e4142823a - it doesn't work in vala 0.15.1



commit 6f8db91e9870347eed26bfba62faecf9d530a505
Author: Robert Ancell <robert ancell canonical com>
Date:   Sun Feb 5 17:05:02 2012 +1100

    glchess: Revert change 1223f112b87625cd62c6cb9e05e92f2e4142823a - it doesn't work in vala 0.15.1

 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 6a66bd3..ebce1b9 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.data, null, false, FileCreateFlags.NONE, null);
+        file.replace_contents (data.str.data, null, false, FileCreateFlags.NONE, null);
     }
 }
 



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