[grilo-plugins] gravatar: Add plugin ID from configure's constant
- From: Joaquim Manuel Pereira Rocha <jrocha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] gravatar: Add plugin ID from configure's constant
- Date: Mon, 12 Jul 2010 10:21:32 +0000 (UTC)
commit a924268929c84ec01a95f27cd3d31759f513504e
Author: Joaquim Rocha <jrocha igalia com>
Date: Mon Jun 21 20:27:18 2010 +0200
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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]