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



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