[gnome-chess/gnome-3-8] Build with Vala 0.22
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess/gnome-3-8] Build with Vala 0.22
- Date: Mon, 20 Jan 2014 18:58:06 +0000 (UTC)
commit eeb2597da7279aca94cedfc05d32e7e17a6f4ba0
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Mon Jan 20 12:56:25 2014 -0600
Build with Vala 0.22
src/chess-view-2d.vala | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/chess-view-2d.vala b/src/chess-view-2d.vala
index 14330a6..080a4bb 100644
--- a/src/chess-view-2d.vala
+++ b/src/chess-view-2d.vala
@@ -133,8 +133,12 @@ private class ChessView2D : ChessView
string[] files;
string[] ranks;
+#if VALA_0_22
+ Cairo.Matrix matrix = c.get_matrix ();
+#else
Cairo.Matrix matrix;
c.get_matrix (out matrix);
+#endif
if (scene.board_angle == 180.0)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]