]> git.tuebingen.mpg.de Git - paraslash.git/commit
gui: Move some variables into struct status_task.
authorAndre Noll <maan@systemlinux.org>
Sat, 4 Jan 2014 06:32:04 +0000 (06:32 +0000)
committerAndre Noll <maan@systemlinux.org>
Sun, 4 May 2014 13:48:55 +0000 (15:48 +0200)
commit4f5209c5ddb334bf35d293c6ccf6f056267f4407
tree20686a4f456759c70f1114a96d5019203e8b380d
parentee0098c5a8b4519d77e2c52fd33ccfc9bd3a87dd
gui: Move some variables into struct status_task.

pre_select and post_select methods should never define static variables
but store their state in the context structure which also contains
the task structure.

This commit moves the static variables of status_post_select() and the
global variables next_exec and stat_pipe into the context structure
of the status task.
gui.c