[gnome-games/wip/exalm/loading: 7/29] application: Register runner factories for simple types



commit c377323de1be353befc65c89e249771c34ba9cdc
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Mon Nov 11 23:16:01 2019 +0500

    application: Register runner factories for simple types

 src/ui/application.vala | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/src/ui/application.vala b/src/ui/application.vala
index 97037cc4..9fe6d8f9 100644
--- a/src/ui/application.vala
+++ b/src/ui/application.vala
@@ -283,6 +283,10 @@ public class Games.Application : Gtk.Application {
                        factory.add_mime_type (simple_type.mime_type);
 
                        game_collection.add_factory (factory);
+
+                       var runner_factory = new RetroRunnerFactory (platform);
+
+                       game_collection.add_runner_factory (runner_factory);
                }
 
                /* Register game types from the plugins */


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