Omit GThreadLock and use IdleRegister in WhiteBalance (fixes #4545)

This commit is contained in:
Flössie
2018-05-10 20:21:12 +02:00
parent 318c92a475
commit 22274f2efd
2 changed files with 35 additions and 12 deletions

View File

@@ -77,6 +77,9 @@ protected:
int custom_temp;
double custom_green;
double custom_equal;
IdleRegister idle_register;
void cache_customWB (int temp, double green); //cache custom WB setting to allow its recall
void cache_customTemp (int temp); //cache Temperature only to allow its recall
void cache_customGreen (double green); //cache Green only to allow its recall
@@ -92,7 +95,7 @@ protected:
public:
WhiteBalance ();
~WhiteBalance () {};
~WhiteBalance ();
static void init ();
static void cleanup ();