[PATCH 07/30] vimeo: Add plugin ID from configure's constant
- From: Joaquim Rocha <jrocha igalia com>
- To: grilo-list gnome org
- Subject: [PATCH 07/30] vimeo: Add plugin ID from configure's constant
- Date: Thu, 24 Jun 2010 09:05:37 +0200
---
configure.ac | 3 +++
src/vimeo/grl-vimeo.c | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index 9d4ff2f..6f5c519 100644
--- a/configure.ac
+++ b/configure.ac
@@ -577,6 +577,9 @@ then
GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED vimeo"
fi
+VIMEO_PLUGIN_ID="grl-vimeo"
+AC_DEFINE_UNQUOTED([VIMEO_PLUGIN_ID], ["$VIMEO_PLUGIN_ID"], [Vimeo plugin ID])
+
# ----------------------------------------------------------
# BUILD GRAVATAR PLUGIN
# ----------------------------------------------------------
diff --git a/src/vimeo/grl-vimeo.c b/src/vimeo/grl-vimeo.c
index a17e796..2fc0309 100644
--- a/src/vimeo/grl-vimeo.c
+++ b/src/vimeo/grl-vimeo.c
@@ -46,7 +46,7 @@
/* --- Plugin information --- */
-#define PLUGIN_ID "grl-vimeo"
+#define PLUGIN_ID VIMEO_PLUGIN_ID
#define SOURCE_ID "grl-vimeo"
#define SOURCE_NAME "Vimeo"
--
1.7.0.4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]