[grilo-plugins] lua-factory: Don't require a source description
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] lua-factory: Don't require a source description
- Date: Wed, 26 Feb 2014 09:27:17 +0000 (UTC)
commit 1e637cc8a39396f9d24674e4c1495febd9a5326f
Author: Bastien Nocera <hadess hadess net>
Date: Wed Feb 26 10:22:13 2014 +0100
lua-factory: Don't require a source description
The source description isn't usually used in front-ends, and
isn't required for C sources, so don't require it for Lua ones.
src/lua-factory/grl-lua-factory.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/lua-factory/grl-lua-factory.c b/src/lua-factory/grl-lua-factory.c
index 0486d61..f30e8f7 100644
--- a/src/lua-factory/grl-lua-factory.c
+++ b/src/lua-factory/grl-lua-factory.c
@@ -743,8 +743,7 @@ lua_plugin_source_info (lua_State *L,
lua_pop (L, 8);
if (lua_source_id == NULL
- || lua_source_name == NULL
- || lua_source_desc == NULL) {
+ || lua_source_name == NULL) {
GRL_DEBUG ("Lua source info is not well defined.");
if (lua_source_tags)
g_strfreev (lua_source_tags);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]