[quadrapassel] Do not create new fundamental types



commit fb5a81fe059ca88a6239e084301a1395663877ff
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Tue Jun 24 08:53:41 2014 -0500

    Do not create new fundamental types

 src/game.vala    |    4 ++--
 src/history.vala |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/game.vala b/src/game.vala
index a1a094f..9f38feb 100644
--- a/src/game.vala
+++ b/src/game.vala
@@ -168,7 +168,7 @@ private const int block_table[448] =
     0, 0, 0, 0
 };
 
-public class Block
+public class Block : Object
 {
     /* Location of block */
     public int x;
@@ -187,7 +187,7 @@ public class Block
     }
 }
 
-public class Shape
+public class Shape : Object
 {
     /* Location of shape */
     public int x;
diff --git a/src/history.vala b/src/history.vala
index 84e653c..ba3e9ef 100644
--- a/src/history.vala
+++ b/src/history.vala
@@ -8,7 +8,7 @@
  * license.
  */
 
-public class History
+public class History : Object
 {
     public string filename;
     public List<HistoryEntry> entries;
@@ -96,7 +96,7 @@ public class History
     }
 }
 
-public class HistoryEntry
+public class HistoryEntry : Object
 {
     public DateTime date;
     public int score;


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