[rygel] ExternalPlugin doesn't need DBus object proxy anymore



commit a0caf557645bb617547caf8ba1736f1a8a01e1a1
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Wed May 13 14:35:04 2009 +0300

    ExternalPlugin doesn't need DBus object proxy anymore
---
 src/plugins/external/rygel-external-plugin.vala |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/plugins/external/rygel-external-plugin.vala b/src/plugins/external/rygel-external-plugin.vala
index 9cd8b05..ed91d2f 100644
--- a/src/plugins/external/rygel-external-plugin.vala
+++ b/src/plugins/external/rygel-external-plugin.vala
@@ -74,7 +74,6 @@ public class ExternalPluginFactory {
         foreach (var service in services) {
             if (service.has_prefix (SERVICE_PREFIX)) {
                 loader.add_plugin (new ExternalPlugin (connection,
-                                                       dbus_obj,
                                                        service));
             }
         }
@@ -107,10 +106,7 @@ public class ExternalPlugin : Plugin {
     public string service_name;
     public string root_object;
 
-    private dynamic DBus.Object dbus_obj;
-
     public ExternalPlugin (DBus.Connection     connection,
-                           dynamic DBus.Object dbus_obj,
                            string              service_name) {
         // org.Rygel.MediaServer1.NAME => /org/Rygel/MediaServer1/NAME
         var root_object = "/" + service_name.replace (".", "/");
@@ -125,7 +121,6 @@ public class ExternalPlugin : Plugin {
 
         base (service_name, title);
 
-        this.dbus_obj = dbus_obj;
         this.service_name = service_name;
         this.root_object = root_object;
 



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