wplua: handle more GVariant cases

This commit is contained in:
Julian Bouzas
2021-02-08 09:36:42 -05:00
parent f693e1a4c7
commit cbe90a5c75
4 changed files with 127 additions and 56 deletions

View File

@@ -41,7 +41,7 @@ execute_script (lua_State *L, struct ScriptData * s, GError ** error)
{
int nargs = 0;
if (s->args) {
wplua_asv_to_table (L, s->args);
wplua_gvariant_to_table (L, s->args);
nargs++;
}
return wplua_load_path (L, s->filename, nargs, 0, error);