[PATCH 09/30] gravatar: Add plugin ID from configure's constant



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

diff --git a/configure.ac b/configure.ac
index a119eef..f6e53bd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -601,6 +601,9 @@ then
 	GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED gravatar"
 fi
 
+GRAVATAR_PLUGIN_ID="grl-gravatar"
+AC_DEFINE_UNQUOTED([GRAVATAR_PLUGIN_ID], ["$GRAVATAR_PLUGIN_ID"], [Gravatar plugin ID])
+
 # ----------------------------------------------------------
 # GETTEXT
 # ----------------------------------------------------------
diff --git a/src/gravatar/grl-gravatar.c b/src/gravatar/grl-gravatar.c
index 06da607..ac90fa7 100644
--- a/src/gravatar/grl-gravatar.c
+++ b/src/gravatar/grl-gravatar.c
@@ -39,7 +39,7 @@
 
 /* ------- Pluging Info -------- */
 
-#define PLUGIN_ID   "grl-gravatar"
+#define PLUGIN_ID   GRAVATAR_PLUGIN_ID
 
 #define SOURCE_ID   PLUGIN_ID
 #define SOURCE_NAME "Avatar provider from Gravatar"
-- 
1.7.0.4



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