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:
Michael Liebmann
2014-09-17 20:46:34 +02:00
parent 0824918f69
commit 582b110eb4

View File

@@ -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;
}