[gnome-games/wip/exalm/loading: 10/29] application: Register runner factories for plugins
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/loading: 10/29] application: Register runner factories for plugins
- Date: Mon, 11 Nov 2019 21:45:30 +0000 (UTC)
commit 732620477245df1c3052269bff16bb11df572842
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Tue Nov 12 01:06:40 2019 +0500
application: Register runner factories for plugins
src/ui/application.vala | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/ui/application.vala b/src/ui/application.vala
index 9fe6d8f9..a870ebaa 100644
--- a/src/ui/application.vala
+++ b/src/ui/application.vala
@@ -313,6 +313,9 @@ public class Games.Application : Gtk.Application {
foreach (var factory in plugin.get_uri_game_factories ())
game_collection.add_factory (factory);
+
+ foreach (var factory in plugin.get_runner_factories ())
+ game_collection.add_runner_factory (factory);
}
catch (Error e) {
debug ("Error: %s", e.message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]