[PATCH 23/30] lastfm-albumart: Add plugin ID from configure's constant
- From: Joaquim Rocha <jrocha igalia com>
 
- To: grilo-list gnome org
 
- Subject: [PATCH 23/30] lastfm-albumart: Add plugin ID from configure's constant
 
- Date: Thu, 24 Jun 2010 09:05:53 +0200
 
---
 configure.ac                              |    3 +++
 src/lastfm-albumart/grl-lastfm-albumart.c |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index e502ceb..46d0c07 100644
--- a/configure.ac
+++ b/configure.ac
@@ -233,6 +233,9 @@ then
 	GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED lastfm-albumart"
 fi
 
+LASTFM_ALBUMART_PLUGIN_ID="grl-lastfm-albumart"
+AC_DEFINE_UNQUOTED([LASTFM_ALBUMART_PLUGIN_ID], ["$LASTFM_ALBUMART_PLUGIN_ID"], [Last.fm album art plugin ID])
+
 # ----------------------------------------------------------
 # BUILD UPNP PLUGIN
 # ----------------------------------------------------------
diff --git a/src/lastfm-albumart/grl-lastfm-albumart.c b/src/lastfm-albumart/grl-lastfm-albumart.c
index 5bd3646..f8ae17b 100644
--- a/src/lastfm-albumart/grl-lastfm-albumart.c
+++ b/src/lastfm-albumart/grl-lastfm-albumart.c
@@ -45,7 +45,7 @@
 
 /* ------- Pluging Info -------- */
 
-#define PLUGIN_ID   "grl-lastfm-albumart"
+#define PLUGIN_ID   LASTFM_ALBUMART_PLUGIN_ID
 
 #define SOURCE_ID   "grl-lastfm-albumart"
 #define SOURCE_NAME "Album art Provider from Last.FM"
-- 
1.7.0.4
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]