[gnome-games/wip/exalm/platform-preferences: 14/36] application: Register plugin platforms



commit 87b6f99fbbb5ec4fc52d2a5c06dfde690c36b216
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Sun May 20 21:39:41 2018 +0000

    application: Register plugin platforms

 src/ui/application.vala | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/ui/application.vala b/src/ui/application.vala
index 78d6a974..b9dddffe 100644
--- a/src/ui/application.vala
+++ b/src/ui/application.vala
@@ -303,6 +303,9 @@ public class Games.Application : Gtk.Application {
                                                tracker_uri_source.add_query (query);
                                        }
 
+                               foreach (var platform in plugin.get_platforms ())
+                                       platform_register.add_platform (platform);
+
                                foreach (var uri_source in plugin.get_uri_sources ())
                                        game_collection.add_source (uri_source);
 


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