[PATCH 05/30] metadata-store: Add plugin ID from configure's constant
- From: Joaquim Rocha <jrocha igalia com>
- To: grilo-list gnome org
- Subject: [PATCH 05/30] metadata-store: Add plugin ID from configure's constant
- Date: Thu, 24 Jun 2010 09:05:35 +0200
---
configure.ac | 3 +++
src/metadata-store/grl-metadata-store.c | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index f805f0d..6d81f76 100644
--- a/configure.ac
+++ b/configure.ac
@@ -533,6 +533,9 @@ then
GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED metadata-store"
fi
+METADATA_STORE_PLUGIN_ID="grl-metadata-store"
+AC_DEFINE_UNQUOTED([METADATA_STORE_PLUGIN_ID], ["$METADATA_STORE_PLUGIN_ID"], [Metadata Store plugin ID])
+
# ----------------------------------------------------------
# BUILD VIMEO PLUGIN
# ----------------------------------------------------------
diff --git a/src/metadata-store/grl-metadata-store.c b/src/metadata-store/grl-metadata-store.c
index faae80e..b45621c 100644
--- a/src/metadata-store/grl-metadata-store.c
+++ b/src/metadata-store/grl-metadata-store.c
@@ -38,7 +38,7 @@
#undef G_LOG_DOMAIN
#define G_LOG_DOMAIN "grl-metadata-store"
-#define PLUGIN_ID "grl-metadata-store"
+#define PLUGIN_ID METADATA_STORE_PLUGIN_ID
#define SOURCE_ID "grl-metadata-store"
#define SOURCE_NAME "Metadata Store"
--
1.7.0.4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]