CComonents: use allowPaint() as private, parameter as by rev

not used in sub classes


Origin commit data
------------------
Branch: ni/coolstream
Commit: d7c35b07e4
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-14 (Sun, 14 Apr 2013)



------------------
This commit was generated by Migit
This commit is contained in:
2013-04-14 19:25:25 +02:00
parent afc55d17c8
commit da2497c8c5
2 changed files with 3 additions and 2 deletions

View File

@@ -78,7 +78,7 @@ void CComponents::initVarBasic()
saved_screen.pixbuf = NULL;
}
bool CComponents::allowPaint(int i)
bool CComponents::allowPaint(const int& i)
{
if(v_fbdata[i].fbdata_type == CC_FBDATA_TYPE_BOX)
return true;