[PATCH 23/28] [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 ================ */
 
-- 
1.7.0.4



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