[rygel] plugins: Don't use 'ModuleInit' attribute



commit 1887e0804ded8f685732683f53e61ecb9b4586b3
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Sat Jun 19 04:51:11 2010 +0300

    plugins: Don't use 'ModuleInit' attribute
    
    Remove incorrect usage of 'ModuleInit' attribute.

 .../external/rygel-external-plugin-factory.vala    |    1 -
 .../gst-launch/rygel-gst-launch-plugin.vala        |    1 -
 src/plugins/gst-renderer/rygel-gst-plugin.vala     |    1 -
 .../media-export/rygel-media-export-plugin.vala    |    1 -
 src/plugins/mediathek/rygel-mediathek-plugin.vala  |    1 -
 src/plugins/test/rygel-test-plugin.vala            |    1 -
 .../tracker/rygel-tracker-plugin-factory.vala      |    1 -
 7 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/src/plugins/external/rygel-external-plugin-factory.vala b/src/plugins/external/rygel-external-plugin-factory.vala
index d7da3ce..f1864d9 100644
--- a/src/plugins/external/rygel-external-plugin-factory.vala
+++ b/src/plugins/external/rygel-external-plugin-factory.vala
@@ -29,7 +29,6 @@ using FreeDesktop;
 
 private ExternalPluginFactory plugin_factory;
 
-[ModuleInit]
 public void module_init (PluginLoader loader) {
     try {
         plugin_factory = new ExternalPluginFactory (loader);
diff --git a/src/plugins/gst-launch/rygel-gst-launch-plugin.vala b/src/plugins/gst-launch/rygel-gst-launch-plugin.vala
index c47494f..6860379 100644
--- a/src/plugins/gst-launch/rygel-gst-launch-plugin.vala
+++ b/src/plugins/gst-launch/rygel-gst-launch-plugin.vala
@@ -24,7 +24,6 @@ using Rygel;
 using Gee;
 using CStuff;
 
-[ModuleInit]
 public void module_init (PluginLoader loader) {
     var plugin = new Plugin.MediaServer ("GstLaunch",
                                          "Gst Launch",
diff --git a/src/plugins/gst-renderer/rygel-gst-plugin.vala b/src/plugins/gst-renderer/rygel-gst-plugin.vala
index 00aeabe..0b9018b 100644
--- a/src/plugins/gst-renderer/rygel-gst-plugin.vala
+++ b/src/plugins/gst-renderer/rygel-gst-plugin.vala
@@ -26,7 +26,6 @@ using Rygel;
 using Gee;
 using CStuff;
 
-[ModuleInit]
 public void module_init (PluginLoader loader) {
     string MEDIA_RENDERER_DESC_PATH = BuildConfig.DATA_DIR +
                                       "/xml/MediaRenderer2.xml";
diff --git a/src/plugins/media-export/rygel-media-export-plugin.vala b/src/plugins/media-export/rygel-media-export-plugin.vala
index 5a9d0a8..3432a54 100644
--- a/src/plugins/media-export/rygel-media-export-plugin.vala
+++ b/src/plugins/media-export/rygel-media-export-plugin.vala
@@ -27,7 +27,6 @@ using GLib;
  * Simple plugin which exposes the media contents of a directory via UPnP.
  *
  */
-[ModuleInit]
 public void module_init (PluginLoader loader) {
     var plugin = new Plugin.MediaServer ("MediaExport",
                                          _("@REALNAME@'s media"),
diff --git a/src/plugins/mediathek/rygel-mediathek-plugin.vala b/src/plugins/mediathek/rygel-mediathek-plugin.vala
index 20c9e0b..526181a 100644
--- a/src/plugins/mediathek/rygel-mediathek-plugin.vala
+++ b/src/plugins/mediathek/rygel-mediathek-plugin.vala
@@ -23,7 +23,6 @@
 using Rygel;
 using GUPnP;
 
-[ModuleInit]
 public void module_init (PluginLoader loader) {
     var plugin = new Plugin.MediaServer ("ZDFMediathek",
                                          "ZDF Mediathek",
diff --git a/src/plugins/test/rygel-test-plugin.vala b/src/plugins/test/rygel-test-plugin.vala
index df6949f..fc28a85 100644
--- a/src/plugins/test/rygel-test-plugin.vala
+++ b/src/plugins/test/rygel-test-plugin.vala
@@ -26,7 +26,6 @@ using Rygel;
 using Gee;
 using CStuff;
 
-[ModuleInit]
 public void module_init (PluginLoader loader) {
     var plugin = new Plugin.MediaServer ("Test",
                                          "Test Streams",
diff --git a/src/plugins/tracker/rygel-tracker-plugin-factory.vala b/src/plugins/tracker/rygel-tracker-plugin-factory.vala
index e3b0451..3a36be9 100644
--- a/src/plugins/tracker/rygel-tracker-plugin-factory.vala
+++ b/src/plugins/tracker/rygel-tracker-plugin-factory.vala
@@ -28,7 +28,6 @@ using CStuff;
 
 private TrackerPluginFactory plugin_factory;
 
-[ModuleInit]
 public void module_init (PluginLoader loader) {
     try {
         plugin_factory = new TrackerPluginFactory (loader);



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