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



commit c7eb2fafdd12b453350af4381c62892e3ffa2228
Author: Joaquim Rocha <jrocha igalia com>
Date:   Fri Jun 11 21:44:17 2010 +0200

    [youtube] Use the new way to register the plugin

 src/youtube/grl-youtube.c |   10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)
---
diff --git a/src/youtube/grl-youtube.c b/src/youtube/grl-youtube.c
index 757c86a..57dce97 100644
--- a/src/youtube/grl-youtube.c
+++ b/src/youtube/grl-youtube.c
@@ -97,8 +97,6 @@
 /* --- Plugin information --- */
 
 #define PLUGIN_ID   "grl-youtube"
-#define PLUGIN_NAME "Youtube"
-#define PLUGIN_DESC "A plugin for browsing and searching Youtube videos"
 
 #define SOURCE_ID   "grl-youtube"
 #define SOURCE_NAME "Youtube"
@@ -249,13 +247,7 @@ grl_youtube_plugin_init (GrlPluginRegistry *registry,
 
 GRL_PLUGIN_REGISTER (grl_youtube_plugin_init,
                      NULL,
-                     PLUGIN_ID,
-                     PLUGIN_NAME,
-                     PLUGIN_DESC,
-                     PACKAGE_VERSION,
-                     AUTHOR,
-                     LICENSE,
-                     SITE);
+                     PLUGIN_ID);
 
 /* ================== Youtube GObject ================ */
 



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