[gnome-games] dummy: Add DummyIcon



commit fc63a849904b6aeca78afcb827276bd36511a527
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Wed May 11 18:08:45 2016 +0200

    dummy: Add DummyIcon
    
    This will be used in subsequent commits to represent void icons.

 src/Makefile.am           |    1 +
 src/dummy/dummy-icon.vala |    7 +++++++
 2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index fe3ccc8..30e62ec 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -50,6 +50,7 @@ gnome_games_SOURCES = \
        dummy/dummy-cover.vala \
        dummy/dummy-game.vala \
        dummy/dummy-game-source.vala \
+       dummy/dummy-icon.vala \
        dummy/dummy-runner.vala \
        \
        retro/retro-error.vala \
diff --git a/src/dummy/dummy-icon.vala b/src/dummy/dummy-icon.vala
new file mode 100644
index 0000000..4920aa2
--- /dev/null
+++ b/src/dummy/dummy-icon.vala
@@ -0,0 +1,7 @@
+// This file is part of GNOME Games. License: GPLv3
+
+public class Games.DummyIcon : Object, Icon {
+       public GLib.Icon? get_icon () {
+               return null;
+       }
+}


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