[PATCH 17/30] flickr: Add plugin ID from configure's constant



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

diff --git a/configure.ac b/configure.ac
index f95abfd..36bb32d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -347,6 +347,9 @@ then
 	GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED flickr"
 fi
 
+FLICKR_PLUGIN_ID="grl-flickr"
+AC_DEFINE_UNQUOTED([FLICKR_PLUGIN_ID], ["$FLICKR_PLUGIN_ID"], [Flickr plugin ID])
+
 # ----------------------------------------------------------
 # BUILD PODCASTS PLUGIN
 # ----------------------------------------------------------
diff --git a/src/flickr/grl-flickr.c b/src/flickr/grl-flickr.c
index 81af83d..53915dd 100644
--- a/src/flickr/grl-flickr.c
+++ b/src/flickr/grl-flickr.c
@@ -48,7 +48,7 @@
 
 /* --- Plugin information --- */
 
-#define PLUGIN_ID   "grl-flickr"
+#define PLUGIN_ID   FLICKR_PLUGIN_ID
 
 #define SOURCE_ID   "grl-flickr"
 #define SOURCE_NAME "Flickr"
-- 
1.7.0.4



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