[gnome-games/wip/exalm/rebrand: 53/124] plugin: Remove get_uri_sources()




commit a50b5fc03414dc862f716707b01a663abc62cd10
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Mon Mar 29 22:14:22 2021 +0500

    plugin: Remove get_uri_sources()

 src/core/plugin.vala    | 4 ----
 src/ui/application.vala | 3 ---
 2 files changed, 7 deletions(-)
---
diff --git a/src/core/plugin.vala b/src/core/plugin.vala
index 8f95cbbc..2ad946bc 100644
--- a/src/core/plugin.vala
+++ b/src/core/plugin.vala
@@ -9,10 +9,6 @@ public interface Games.Plugin : Object {
                return {};
        }
 
-       public virtual UriSource[] get_uri_sources () {
-               return {};
-       }
-
        public virtual UriGameFactory[] get_uri_game_factories () {
                return {};
        }
diff --git a/src/ui/application.vala b/src/ui/application.vala
index e4637b4a..937de73d 100644
--- a/src/ui/application.vala
+++ b/src/ui/application.vala
@@ -493,9 +493,6 @@ public class Games.Application : Gtk.Application {
                                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);
-
                                foreach (var factory in plugin.get_uri_game_factories ())
                                        game_collection.add_factory (factory);
 


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