1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-25 12:10:03 +00:00

lua: remove useless conky_info 'uptime' table (#612)

This commit is contained in:
lasers 2018-08-14 12:30:23 -05:00 committed by GitHub
parent 0edc80bf9b
commit 41f920671c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 6 deletions

View File

@ -118,10 +118,6 @@
<option>Conky's update interval (in
seconds).</option>
</member>
<member>
<command>uptime</command>
<option>System uptime, in seconds.</option>
</member>
</simplelist>
</listitem>
</varlistentry>

View File

@ -536,7 +536,7 @@ void llua_setup_info(struct information *i, double u_interval) {
lua_newtable(lua_L);
llua_set_number("update_interval", u_interval);
llua_set_number("uptime", i->uptime);
(void)i;
lua_setglobal(lua_L, "conky_info");
}
@ -552,7 +552,7 @@ void llua_update_info(struct information *i, double u_interval) {
}
llua_set_number("update_interval", u_interval);
llua_set_number("uptime", i->uptime);
(void)i;
lua_setglobal(lua_L, "conky_info");
}