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



commit 829da5498906e58bbcabf7e21d8f1437c3511fd5
Author: Joaquim Rocha <jrocha igalia com>
Date:   Fri Jun 11 21:44:01 2010 +0200

    [gravatar] Use the new way to register the plugin

 src/gravatar/grl-gravatar.c |   14 +++-----------
 1 files changed, 3 insertions(+), 11 deletions(-)
---
diff --git a/src/gravatar/grl-gravatar.c b/src/gravatar/grl-gravatar.c
index 09b0bac..06da607 100644
--- a/src/gravatar/grl-gravatar.c
+++ b/src/gravatar/grl-gravatar.c
@@ -40,12 +40,10 @@
 /* ------- Pluging Info -------- */
 
 #define PLUGIN_ID   "grl-gravatar"
-#define PLUGIN_NAME "Avatar provider from Gravatar"
-#define PLUGIN_DESC "A plugin to get avatars for artist and author fields"
 
 #define SOURCE_ID   PLUGIN_ID
-#define SOURCE_NAME PLUGIN_NAME
-#define SOURCE_DESC PLUGIN_DESC
+#define SOURCE_NAME "Avatar provider from Gravatar"
+#define SOURCE_DESC "A plugin to get avatars for artist and author fields"
 
 #define AUTHOR      "Igalia S.L."
 #define LICENSE     "LGPL"
@@ -109,13 +107,7 @@ grl_gravatar_source_plugin_init (GrlPluginRegistry *registry,
 
 GRL_PLUGIN_REGISTER (grl_gravatar_source_plugin_init,
                      NULL,
-                     PLUGIN_ID,
-                     PLUGIN_NAME,
-                     PLUGIN_DESC,
-                     PACKAGE_VERSION,
-                     AUTHOR,
-                     LICENSE,
-                     SITE);
+                     PLUGIN_ID);
 
 /* ================== Gravatar GObject ================ */
 



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