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