[PATCH 13/30] bookmarks: Add plugin ID from configure's constant



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

diff --git a/configure.ac b/configure.ac
index af0b48f..201e293 100644
--- a/configure.ac
+++ b/configure.ac
@@ -430,6 +430,9 @@ then
 	GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED bookmarks"
 fi
 
+BOOKMARKS_PLUGIN_ID="grl-bookmarks"
+AC_DEFINE_UNQUOTED([BOOKMARKS_PLUGIN_ID], ["$BOOKMARKS_PLUGIN_ID"], [Bookmarks plugin ID])
+
 # ----------------------------------------------------------
 # BUILD SHOUTCAST PLUGIN
 # ----------------------------------------------------------
diff --git a/src/bookmarks/grl-bookmarks.c b/src/bookmarks/grl-bookmarks.c
index e9a8414..bc6e56b 100644
--- a/src/bookmarks/grl-bookmarks.c
+++ b/src/bookmarks/grl-bookmarks.c
@@ -109,7 +109,7 @@
 
 /* --- Plugin information --- */
 
-#define PLUGIN_ID   "grl-bookmarks"
+#define PLUGIN_ID   BOOKMARKS_PLUGIN_ID
 
 #define SOURCE_ID   "grl-bookmarks"
 #define SOURCE_NAME "Bookmarks"
-- 
1.7.0.4



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