[PATCH 25/30] jamendo: Add plugin ID from configure's constant
- From: Joaquim Rocha <jrocha igalia com>
- To: grilo-list gnome org
- Subject: [PATCH 25/30] jamendo: Add plugin ID from configure's constant
- Date: Thu, 24 Jun 2010 09:05:55 +0200
---
configure.ac | 3 +++
src/jamendo/grl-jamendo.c | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index 973d67a..7e1babe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -199,6 +199,9 @@ then
GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED jamendo"
fi
+JAMENDO_PLUGIN_ID="grl-jamendo"
+AC_DEFINE_UNQUOTED([JAMENDO_PLUGIN_ID], ["$JAMENDO_PLUGIN_ID"], [Jamendo plugin ID])
+
# ----------------------------------------------------------
# BUILD LASTFM ALBUM ART PLUGIN
# ----------------------------------------------------------
diff --git a/src/jamendo/grl-jamendo.c b/src/jamendo/grl-jamendo.c
index 44c1763..086df50 100644
--- a/src/jamendo/grl-jamendo.c
+++ b/src/jamendo/grl-jamendo.c
@@ -82,7 +82,7 @@
/* --- Plugin information --- */
-#define PLUGIN_ID "grl-jamendo"
+#define PLUGIN_ID JAMENDO_PLUGIN_ID
#define SOURCE_ID "grl-jamendo"
#define SOURCE_NAME "Jamendo"
--
1.7.0.4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]