[grilo-plugins] youtube: 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] youtube: Add plugin ID from configure's constant
- Date: Mon, 12 Jul 2010 10:22:23 +0000 (UTC)
commit 1e6fc88fe049e47d149b689b7328f034a7cd6fa8
Author: Joaquim Rocha <jrocha igalia com>
Date: Mon Jun 21 21:38:40 2010 +0200
youtube: Add plugin ID from configure's constant
configure.ac | 3 +++
src/youtube/grl-youtube.c | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index e7b277c..19ed182 100644
--- a/configure.ac
+++ b/configure.ac
@@ -313,6 +313,9 @@ then
GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED youtube"
fi
+YOUTUBE_PLUGIN_ID="grl-youtube"
+AC_DEFINE_UNQUOTED([YOUTUBE_PLUGIN_ID], ["$YOUTUBE_PLUGIN_ID"], [YouTube plugin ID])
+
# ----------------------------------------------------------
# BUILD FLICKR PLUGIN
# ----------------------------------------------------------
diff --git a/src/youtube/grl-youtube.c b/src/youtube/grl-youtube.c
index 1252351..1140177 100644
--- a/src/youtube/grl-youtube.c
+++ b/src/youtube/grl-youtube.c
@@ -96,7 +96,7 @@
/* --- Plugin information --- */
-#define PLUGIN_ID "grl-youtube"
+#define PLUGIN_ID YOUTUBE_PLUGIN_ID
#define SOURCE_ID "grl-youtube"
#define SOURCE_NAME "Youtube"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]