[PATCH 03/30] applet-trailers: Add plugin ID from configure's constant



---
 configure.ac                            |    3 +++
 src/apple-trailers/grl-apple-trailers.c |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 6dd79d3..946631b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -498,6 +498,9 @@ then
 	GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED apple-trailers"
 fi
 
+APPLE_TRAILERS_PLUGIN_ID="grl-apple-trailers"
+AC_DEFINE_UNQUOTED([APPLE_TRAILERS_PLUGIN_ID], ["$APPLE_TRAILERS_PLUGIN_ID"], [Apple Trailers plugin ID])
+
 # ----------------------------------------------------------
 # BUILD METADATA-STORE PLUGIN
 # ----------------------------------------------------------
diff --git a/src/apple-trailers/grl-apple-trailers.c b/src/apple-trailers/grl-apple-trailers.c
index 4682b21..ab95809 100644
--- a/src/apple-trailers/grl-apple-trailers.c
+++ b/src/apple-trailers/grl-apple-trailers.c
@@ -51,7 +51,7 @@
 
 /* --- Plugin information --- */
 
-#define PLUGIN_ID   "grl-apple-trailers"
+#define PLUGIN_ID   APPLE_TRAILERS_PLUGIN_ID
 
 #define SOURCE_ID   "grl-apple-trailers"
 #define SOURCE_NAME "Apple Movie Trailers"
-- 
1.7.0.4



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