mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-16 07:47:22 +01:00
dbus: fix compiling error
Signed-off-by: Gregor Best <gbe@ring0.de> Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
bd30468d7a
commit
6e6a07b660
1 changed files with 2 additions and 2 deletions
4
dbus.c
4
dbus.c
|
@ -282,7 +282,7 @@ a_dbus_convert_value(lua_State *L, int idx, DBusMessageIter *iter)
|
||||||
{
|
{
|
||||||
luaA_warn(globalconf.L,
|
luaA_warn(globalconf.L,
|
||||||
"your D-Bus signal handling method returned wrong number of arguments");
|
"your D-Bus signal handling method returned wrong number of arguments");
|
||||||
return;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Push the array */
|
/* Push the array */
|
||||||
|
@ -424,7 +424,7 @@ a_dbus_process_request(DBusConnection *dbus_connection, DBusMessage *msg)
|
||||||
luaA_warn(globalconf.L,
|
luaA_warn(globalconf.L,
|
||||||
"your D-Bus signal handling method returned wrong number of arguments");
|
"your D-Bus signal handling method returned wrong number of arguments");
|
||||||
/* Remove returned values from the stack */
|
/* Remove returned values from the stack */
|
||||||
lua_pop(L, - n);
|
lua_pop(globalconf.L, - n);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue