ocarina: Use a shorter timeout for progress bar updating
I'm only using this function for updating the progress bar now, so it doesn't need a faster response time. I can drop CPU usage a little bit by adding a longer delay between updates, without really noticing the difference. Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
This commit is contained in:
parent
ad3cbdebff
commit
fc46bea1d1
|
@ -145,7 +145,7 @@ static void init(int argc, char **argv)
|
|||
|
||||
/* Show any widgets that need showing */
|
||||
/* ocarina::init_pipe();*/
|
||||
gtk_timeout_add(100, timeout_poll, NULL);
|
||||
gtk_timeout_add(250, timeout_poll, NULL);
|
||||
}
|
||||
|
||||
int main(int argc, char **argv)
|
||||
|
|
Loading…
Reference in New Issue