[gnome-tetravex] Do not create fundamental types
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tetravex] Do not create fundamental types
- Date: Tue, 24 Jun 2014 13:49:31 +0000 (UTC)
commit 0c14045aed4437b4609c76d7f9024b881f5bbe1b
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Tue Jun 24 08:47:47 2014 -0500
Do not create fundamental types
src/history.vala | 4 ++--
src/puzzle-view.vala | 2 +-
src/puzzle.vala | 4 ++--
src/theme.vala | 2 +-
4 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/history.vala b/src/history.vala
index 72effe6..51862f3 100644
--- a/src/history.vala
+++ b/src/history.vala
@@ -9,7 +9,7 @@
* license.
*/
-public class History
+public class History : Object
{
public string filename;
public List<HistoryEntry> entries;
@@ -98,7 +98,7 @@ public class History
}
}
-public class HistoryEntry
+public class HistoryEntry : Object
{
public DateTime date;
public uint size;
diff --git a/src/puzzle-view.vala b/src/puzzle-view.vala
index 822c811..7f98895 100644
--- a/src/puzzle-view.vala
+++ b/src/puzzle-view.vala
@@ -9,7 +9,7 @@
* license.
*/
-private class TileImage
+private class TileImage : Object
{
/* Tile being moved */
public Tile tile;
diff --git a/src/puzzle.vala b/src/puzzle.vala
index f1b4185..2365cce 100644
--- a/src/puzzle.vala
+++ b/src/puzzle.vala
@@ -9,7 +9,7 @@
* license.
*/
-public class Tile
+public class Tile : Object
{
/* Edge colors */
public int north;
@@ -28,7 +28,7 @@ public class Tile
}
}
-public class Puzzle
+public class Puzzle : Object
{
private uint _size;
public uint size
diff --git a/src/theme.vala b/src/theme.vala
index 5877371..3a665ec 100644
--- a/src/theme.vala
+++ b/src/theme.vala
@@ -9,7 +9,7 @@
* license.
*/
-public class Theme
+public class Theme : Object
{
/* Colors of tiles and text */
private Cairo.Pattern tile_colors[10];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]