mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
luainstance: Remove unnecessary hide()/kill() calls from xxxDelete functions
- functions:
CWindowDelete()
SignalBoxDelete()
ComponentsTextDelete()
CPictureDelete()
Origin commit data
------------------
Branch: ni/coolstream
Commit: 7c5ab40468
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-09-17 (Wed, 17 Sep 2014)
Origin message was:
------------------
luainstance: Remove unnecessary hide()/kill() calls from xxxDelete functions
- functions:
CWindowDelete()
SignalBoxDelete()
ComponentsTextDelete()
CPictureDelete()
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1863,7 +1863,6 @@ int CLuaInstance::CWindowDelete(lua_State *L)
|
||||
if (!m)
|
||||
return 0;
|
||||
|
||||
m->w->hide();
|
||||
delete m;
|
||||
return 0;
|
||||
}
|
||||
@@ -1940,7 +1939,6 @@ int CLuaInstance::SignalBoxDelete(lua_State *L)
|
||||
if (!m)
|
||||
return 0;
|
||||
|
||||
m->s->kill();
|
||||
delete m;
|
||||
return 0;
|
||||
}
|
||||
@@ -2138,7 +2136,6 @@ int CLuaInstance::ComponentsTextDelete(lua_State *L)
|
||||
if (!m)
|
||||
return 0;
|
||||
|
||||
m->ct->hide();
|
||||
delete m;
|
||||
return 0;
|
||||
}
|
||||
@@ -2284,7 +2281,6 @@ int CLuaInstance::CPictureDelete(lua_State *L)
|
||||
CLuaPicture *m = CPictureCheck(L, 1);
|
||||
if (!m) return 0;
|
||||
|
||||
// m->cp->hide();
|
||||
delete m;
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user