[grilo-plugins] lua-factory: Don't require a source description



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]