[grilo-plugins] [fake-metadata] Use the new way to register the plugin



commit 17ddf62b0ad4ea213d1b7ae1f97f9bf0ad51f8b4
Author: Joaquim Rocha <jrocha igalia com>
Date:   Fri Jun 11 21:43:55 2010 +0200

    [fake-metadata] Use the new way to register the plugin

 src/fake-metadata/grl-fake-metadata.c |   10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)
---
diff --git a/src/fake-metadata/grl-fake-metadata.c b/src/fake-metadata/grl-fake-metadata.c
index 75bb4a0..e1f3667 100644
--- a/src/fake-metadata/grl-fake-metadata.c
+++ b/src/fake-metadata/grl-fake-metadata.c
@@ -32,8 +32,6 @@
 #define G_LOG_DOMAIN "grl-fake-metadata"
 
 #define PLUGIN_ID   "grl-fake-metadata"
-#define PLUGIN_NAME "Fake Metadata Provider"
-#define PLUGIN_DESC "A plugin for faking metadata resolution"
 
 #define SOURCE_ID   "grl-fake-metadata"
 #define SOURCE_NAME "Fake Metadata Provider"
@@ -81,13 +79,7 @@ grl_fake_metadata_source_plugin_init (GrlPluginRegistry *registry,
 
 GRL_PLUGIN_REGISTER (grl_fake_metadata_source_plugin_init,
                      NULL,
-                     PLUGIN_ID,
-                     PLUGIN_NAME,
-                     PLUGIN_DESC,
-                     PACKAGE_VERSION,
-                     AUTHOR,
-                     LICENSE,
-                     SITE);
+                     PLUGIN_ID);
 
 /* ================== GrlFakeMetadata GObject ================ */
 



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