[gnome-klotski] Do not create new fundamental types
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-klotski] Do not create new fundamental types
- Date: Tue, 24 Jun 2014 13:48:32 +0000 (UTC)
commit fef4861862d864547fbf98a00c464cb539f125f2
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Tue Jun 24 08:40:16 2014 -0500
Do not create new fundamental types
src/history.vala | 4 ++--
src/puzzle.vala | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/history.vala b/src/history.vala
index 4e98b44..cfaeabf 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;
@@ -97,7 +97,7 @@ public class History
}
}
-public class HistoryEntry
+public class HistoryEntry : Object
{
public DateTime date;
public uint level;
diff --git a/src/puzzle.vala b/src/puzzle.vala
index 1bc881a..065c3ca 100644
--- a/src/puzzle.vala
+++ b/src/puzzle.vala
@@ -84,7 +84,7 @@ private const int[] image_map =
-1, -1
};
-public class Puzzle
+public class Puzzle : Object
{
public int width;
public int height;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]