[grilo-plugins] applet-trailers: 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] applet-trailers: Add plugin ID from configure's constant
- Date: Mon, 12 Jul 2010 10:20:58 +0000 (UTC)
commit be245013f29690969d57739bee01edfc2370e4df
Author: Joaquim Rocha <jrocha igalia com>
Date: Tue Jun 15 18:54:48 2010 +0200
applet-trailers: Add plugin ID from configure's constant
configure.ac | 3 +++
src/apple-trailers/grl-apple-trailers.c | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 6dd79d3..946631b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -498,6 +498,9 @@ then
GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED apple-trailers"
fi
+APPLE_TRAILERS_PLUGIN_ID="grl-apple-trailers"
+AC_DEFINE_UNQUOTED([APPLE_TRAILERS_PLUGIN_ID], ["$APPLE_TRAILERS_PLUGIN_ID"], [Apple Trailers plugin ID])
+
# ----------------------------------------------------------
# BUILD METADATA-STORE PLUGIN
# ----------------------------------------------------------
diff --git a/src/apple-trailers/grl-apple-trailers.c b/src/apple-trailers/grl-apple-trailers.c
index 710fb9b..99806f2 100644
--- a/src/apple-trailers/grl-apple-trailers.c
+++ b/src/apple-trailers/grl-apple-trailers.c
@@ -51,7 +51,7 @@
/* --- Plugin information --- */
-#define PLUGIN_ID "grl-apple-trailers"
+#define PLUGIN_ID APPLE_TRAILERS_PLUGIN_ID
#define SOURCE_ID "grl-apple-trailers"
#define SOURCE_NAME "Apple Movie Trailers"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]