[grilo-plugins] lastfm-albumart: Add plugin ID from configure's constant
- From: Joaquim Manuel Pereira Rocha <jrocha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] lastfm-albumart: Add plugin ID from configure's constant
- Date: Mon, 12 Jul 2010 10:22:43 +0000 (UTC)
commit adee5f7190d1519f9a2f28d2c68d1e0e3cd890ff
Author: Joaquim Rocha <jrocha igalia com>
Date: Tue Jun 22 12:52:07 2010 +0200
lastfm-albumart: Add plugin ID from configure's constant
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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]