From 8083c6149be9fb2bafb1e68dba292a0026b16211 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sat, 24 Apr 2010 17:52:52 +0200 Subject: [PATCH] Update API docs for recent change to spawn Signed-off-by: Uli Schlachter Signed-off-by: Julien Danjou --- luadoc/awesome.lua | 2 +- spawn.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/luadoc/awesome.lua b/luadoc/awesome.lua index afceae61b..b5e966659 100644 --- a/luadoc/awesome.lua +++ b/luadoc/awesome.lua @@ -34,7 +34,7 @@ module("awesome") -- @param cmd The command to launch. -- @param use_sn Use startup-notification, true or false, default to true. -- @param screen Optional screen number to spawn the command on. --- @return Nothing is everything is OK, or an error string if an error occured. +-- @return Process ID if everything is OK, or an error string if an error occured. --- Add a global signal. -- @param name A string with the event name. diff --git a/spawn.c b/spawn.c index 0932970c1..9713bfd50 100644 --- a/spawn.c +++ b/spawn.c @@ -301,7 +301,7 @@ spawn_command(const gchar *command_line, GError **error) * \lparam The command to launch. * \lparam Use startup-notification, true or false, default to true. * \lparam The optional screen number to spawn the command on. - * \lreturn Nothing if launch was successful, an error string otherwise. + * \lreturn Process ID if everything is OK, or an error string if an error occured. */ int luaA_spawn(lua_State *L)