mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
CLuaInstance: Add debug output to CWindowDelete/ComponentsTextDelete
Origin commit data
------------------
Branch: ni/coolstream
Commit: 623efecc2f
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-03-16 (Sun, 16 Mar 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1432,11 +1432,12 @@ int CLuaInstance::CWindowGetFooterHeight(lua_State *L)
|
||||
|
||||
int CLuaInstance::CWindowDelete(lua_State *L)
|
||||
{
|
||||
DBG("CLuaInstance::%s %d\n", __func__, lua_gettop(L));
|
||||
CLuaCWindow *m = CWindowCheck(L, 1);
|
||||
if (!m)
|
||||
return 0;
|
||||
|
||||
m->w->kill();
|
||||
m->w->hide();
|
||||
delete m;
|
||||
return 0;
|
||||
}
|
||||
@@ -1653,11 +1654,12 @@ int CLuaInstance::ComponentsTextScroll(lua_State *L)
|
||||
|
||||
int CLuaInstance::ComponentsTextDelete(lua_State *L)
|
||||
{
|
||||
DBG("CLuaInstance::%s %d\n", __func__, lua_gettop(L));
|
||||
CLuaComponentsText *m = ComponentsTextCheck(L, 1);
|
||||
if (!m)
|
||||
return 0;
|
||||
|
||||
m->ct->kill();
|
||||
m->ct->hide();
|
||||
delete m;
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user