[grilo-plugins] podcasts: Add plugin ID from configure's constant



commit 39be57fac7b9c2a8a8f5bd5ed9ac615563f73e4b
Author: Joaquim Rocha <jrocha igalia com>
Date:   Mon Jun 21 21:17:53 2010 +0200

    podcasts: Add plugin ID from configure's constant

 configure.ac                |    2 ++
 src/podcasts/grl-podcasts.c |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 6796254..4386591 100644
--- a/configure.ac
+++ b/configure.ac
@@ -388,6 +388,8 @@ then
 	GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED podcasts"
 fi
 
+PODCASTS_PLUGIN_ID="grl-podcasts"
+AC_DEFINE_UNQUOTED([PODCASTS_PLUGIN_ID], ["$PODCASTS_PLUGIN_ID"], [Podcasts plugin ID])
 
 # ----------------------------------------------------------
 # BUILD BOOKMARKS PLUGIN
diff --git a/src/podcasts/grl-podcasts.c b/src/podcasts/grl-podcasts.c
index 80a3f36..ec624b6 100644
--- a/src/podcasts/grl-podcasts.c
+++ b/src/podcasts/grl-podcasts.c
@@ -138,7 +138,7 @@
 
 /* --- Plugin information --- */
 
-#define PLUGIN_ID   "grl-podcasts"
+#define PLUGIN_ID   PODCASTS_PLUGIN_ID
 
 #define SOURCE_ID   "grl-podcasts"
 #define SOURCE_NAME "Podcasts"



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