[grilo-plugins] vimeo: 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] vimeo: Add plugin ID from configure's constant
- Date: Mon, 12 Jul 2010 10:21:19 +0000 (UTC)
commit d07b449ac6287b7aceafd190c208250a104ff1ea
Author: Joaquim Rocha <jrocha igalia com>
Date: Mon Jun 21 20:00:37 2010 +0200
vimeo: Add plugin ID from configure's constant
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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]