[PATCH 2/3] applet-trailers: Add plugin ID from configure's constant
- From: Joaquim Rocha <jrocha igalia com>
- To: grilo-list gnome org
- Subject: [PATCH 2/3] applet-trailers: Add plugin ID from configure's constant
- Date: Tue, 15 Jun 2010 19:18:16 +0200
---
configure.ac | 3 +++
src/apple-trailers/grl-apple-trailers.c | 4 +---
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 95bb85b..6730fce 100644
--- a/configure.ac
+++ b/configure.ac
@@ -495,6 +495,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 4682b21..a12f578 100644
--- a/src/apple-trailers/grl-apple-trailers.c
+++ b/src/apple-trailers/grl-apple-trailers.c
@@ -51,8 +51,6 @@
/* --- Plugin information --- */
-#define PLUGIN_ID "grl-apple-trailers"
-
#define SOURCE_ID "grl-apple-trailers"
#define SOURCE_NAME "Apple Movie Trailers"
#define SOURCE_DESC "A plugin for browsing Apple Movie Trailers"
@@ -100,7 +98,7 @@ grl_apple_trailers_plugin_init (GrlPluginRegistry *registry,
GRL_PLUGIN_REGISTER (grl_apple_trailers_plugin_init,
NULL,
- PLUGIN_ID);
+ APPLE_TRAILERS_PLUGIN_ID);
/* ================== AppleTrailers GObject ================ */
--
1.7.0.4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]