[PATCH 15/30] podcasts: Add plugin ID from configure's constant
- From: Joaquim Rocha <jrocha igalia com>
- To: grilo-list gnome org
- Subject: [PATCH 15/30] podcasts: Add plugin ID from configure's constant
- Date: Thu, 24 Jun 2010 09:05:45 +0200
---
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"
--
1.7.0.4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]