glchess: use StringBuilder.data

We have this in Vala now, so use it.
This commit is contained in:
Ryan Lortie 2012-02-04 19:36:12 -05:00
parent cb18b3c0be
commit aae22a98eb

View file

@ -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);
}
}