[grilo-plugins] upnp: 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] upnp: Add plugin ID from configure's constant
- Date: Mon, 12 Jul 2010 10:22:33 +0000 (UTC)
commit f42d320fe93c6572ef6ca208ae8c53c91a0e444f
Author: Joaquim Rocha <jrocha igalia com>
Date: Mon Jun 21 21:43:44 2010 +0200
upnp: Add plugin ID from configure's constant
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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]