[PATCH 29/30] fake-metadata: Add plugin ID from configure's constant
- From: Joaquim Rocha <jrocha igalia com>
- To: grilo-list gnome org
- Subject: [PATCH 29/30] fake-metadata: Add plugin ID from configure's constant
- Date: Thu, 24 Jun 2010 09:05:59 +0200
---
configure.ac | 3 +++
src/fake-metadata/grl-fake-metadata.c | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index 4707134..0239b3a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -149,6 +149,9 @@ then
GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED fakemetadata"
fi
+FAKEMETADATA_PLUGIN_ID="grl-fake-metadata"
+AC_DEFINE_UNQUOTED([FAKEMETADATA_PLUGIN_ID], ["$FAKEMETADATA_PLUGIN_ID"], [Fake metadata plugin ID])
+
# ----------------------------------------------------------
# BUILD FILE SYSTEM PLUGIN
# ----------------------------------------------------------
diff --git a/src/fake-metadata/grl-fake-metadata.c b/src/fake-metadata/grl-fake-metadata.c
index e1f3667..60bfae2 100644
--- a/src/fake-metadata/grl-fake-metadata.c
+++ b/src/fake-metadata/grl-fake-metadata.c
@@ -31,7 +31,7 @@
#undef G_LOG_DOMAIN
#define G_LOG_DOMAIN "grl-fake-metadata"
-#define PLUGIN_ID "grl-fake-metadata"
+#define PLUGIN_ID FAKEMETADATA_PLUGIN_ID
#define SOURCE_ID "grl-fake-metadata"
#define SOURCE_NAME "Fake Metadata Provider"
--
1.7.0.4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]