[PATCH 21/30] upnp: Add plugin ID from configure's constant
- From: Joaquim Rocha <jrocha igalia com>
- To: grilo-list gnome org
- Subject: [PATCH 21/30] upnp: Add plugin ID from configure's constant
- Date: Thu, 24 Jun 2010 09:05:51 +0200
---
configure.ac | 3 +++
src/upnp/grl-upnp.c | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index 19760fb..dcd7736 100644
--- a/configure.ac
+++ b/configure.ac
@@ -272,6 +272,9 @@ then
GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED upnp"
fi
+UPNP_PLUGIN_ID="grl-upnp"
+AC_DEFINE_UNQUOTED([UPNP_PLUGIN_ID], ["$UPNP_PLUGIN_ID"], [UPnP plugin ID])
+
# ----------------------------------------------------------
# BUILD YOUTUBE PLUGIN
# ----------------------------------------------------------
diff --git a/src/upnp/grl-upnp.c b/src/upnp/grl-upnp.c
index c1c9d12..ccd35aa 100644
--- a/src/upnp/grl-upnp.c
+++ b/src/upnp/grl-upnp.c
@@ -48,7 +48,7 @@
/* --- Plugin information --- */
-#define PLUGIN_ID "grl-upnp"
+#define PLUGIN_ID UPNP_PLUGIN_ID
#define SOURCE_ID_TEMPLATE "grl-upnp-%s"
#define SOURCE_NAME_TEMPLATE "UPnP - %s"
--
1.7.0.4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]