[gnome-games/wip/exalm/rebrand: 35/102] plugin: Remove get_uri_sources()
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/rebrand: 35/102] plugin: Remove get_uri_sources()
- Date: Thu, 8 Apr 2021 21:29:43 +0000 (UTC)
commit 8b62035420a716a60f5143639f714d5bef2c14ea
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 7ad2b8de..c63a3d0e 100644
--- a/src/ui/application.vala
+++ b/src/ui/application.vala
@@ -484,9 +484,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]