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:
parent
0edc80bf9b
commit
41f920671c
@ -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>
|
||||
|
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user