ui: disable for now, gtk does not like cross-calls
This commit is contained in:
@@ -508,8 +508,8 @@ summarize()
|
|||||||
|
|
||||||
/* Gain */
|
/* Gain */
|
||||||
gain = state_proc.gain.value / ((float) state_proc.gain.min);
|
gain = state_proc.gain.value / ((float) state_proc.gain.min);
|
||||||
if (1) /* dgain */
|
/* dgain */
|
||||||
gain *= state_proc.dgain.value / ((float) state_proc.dgain.min);
|
gain *= state_proc.dgain.value / ((float) state_proc.dgain.min);
|
||||||
|
|
||||||
/* Focus */
|
/* Focus */
|
||||||
diopt = (state_proc.focus.value-focus_inf) / ((float) state_proc.focus.max-focus_inf);
|
diopt = (state_proc.focus.value-focus_inf) / ((float) state_proc.focus.max-focus_inf);
|
||||||
@@ -525,7 +525,10 @@ summarize()
|
|||||||
sep, (float) (gain*100),
|
sep, (float) (gain*100),
|
||||||
sep, sep, 1/diopt);
|
sep, sep, 1/diopt);
|
||||||
|
|
||||||
|
/* Not sure what to do here. Looks like we need to call gtk
|
||||||
|
functions from main thread.
|
||||||
notify_auto_status(buf);
|
notify_auto_status(buf);
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Reference in New Issue
Block a user