glchess: use StringBuilder.data
We have this in Vala now, so use it.
This commit is contained in:
parent
cb18b3c0be
commit
aae22a98eb
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue