[rygel] tracker,playbin: Remove disabled settings handling



commit d0f39cfca594c1f7c09854829aec05cf1966793d
Author: Jens Georg <mail jensge org>
Date:   Sat Apr 9 23:24:09 2016 +0200

    tracker,playbin: Remove disabled settings handling
    
    For these "static" plugins it is handled by the plugin loader now.
    
    Signed-off-by: Jens Georg <mail jensge org>

 src/plugins/playbin/rygel-playbin-module.vala      |    7 -------
 .../tracker/rygel-tracker-plugin-factory.vala      |    7 -------
 2 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/src/plugins/playbin/rygel-playbin-module.vala b/src/plugins/playbin/rygel-playbin-module.vala
index 28b1211..69e7c17 100644
--- a/src/plugins/playbin/rygel-playbin-module.vala
+++ b/src/plugins/playbin/rygel-playbin-module.vala
@@ -24,13 +24,6 @@ using Rygel;
 using Gst;
 
 public void module_init (PluginLoader loader) {
-    if (loader.plugin_disabled (Playbin.Plugin.NAME)) {
-        message ("Plugin '%s' disabled by user, ignoring..",
-                 Playbin.Plugin.NAME);
-
-        return;
-    }
-
     unowned string[] args = null;
 
     Gst.init (ref args);
diff --git a/src/plugins/tracker/rygel-tracker-plugin-factory.vala 
b/src/plugins/tracker/rygel-tracker-plugin-factory.vala
index b8825a4..9d9ffde 100644
--- a/src/plugins/tracker/rygel-tracker-plugin-factory.vala
+++ b/src/plugins/tracker/rygel-tracker-plugin-factory.vala
@@ -29,13 +29,6 @@ using Gee;
 private Rygel.Tracker.PluginFactory plugin_factory;
 
 public void module_init (PluginLoader loader) {
-    if (loader.plugin_disabled (Rygel.Tracker.Plugin.NAME)) {
-        message ("Plugin '%s' disabled by user, ignoring..",
-                 Rygel.Tracker.Plugin.NAME);
-
-        return;
-    }
-
     try {
         plugin_factory = new Rygel.Tracker.PluginFactory (loader);
     } catch (Error err) {


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