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



commit 63dd2a21d5eeb30b74da671fdf9465b4a254e2ba
Author: Joaquim Rocha <jrocha igalia com>
Date:   Fri Jun 11 21:44:13 2010 +0200

    [upnp] Use the new way to register the plugin

 src/upnp/grl-upnp.c |   10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)
---
diff --git a/src/upnp/grl-upnp.c b/src/upnp/grl-upnp.c
index a632358..c1c9d12 100644
--- a/src/upnp/grl-upnp.c
+++ b/src/upnp/grl-upnp.c
@@ -49,8 +49,6 @@
 /* --- Plugin information --- */
 
 #define PLUGIN_ID   "grl-upnp"
-#define PLUGIN_NAME "UPnP"
-#define PLUGIN_DESC "A plugin for browsing UPnP servers"
 
 #define SOURCE_ID_TEMPLATE    "grl-upnp-%s"
 #define SOURCE_NAME_TEMPLATE  "UPnP - %s"
@@ -179,13 +177,7 @@ grl_upnp_plugin_init (GrlPluginRegistry *registry,
 
 GRL_PLUGIN_REGISTER (grl_upnp_plugin_init,
                      NULL,
-                     PLUGIN_ID,
-                     PLUGIN_NAME,
-                     PLUGIN_DESC,
-                     PACKAGE_VERSION,
-                     AUTHOR,
-                     LICENSE,
-                     SITE);
+                     PLUGIN_ID);
 
 /* ================== UPnP GObject ================ */
 



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