Add mandatory checks into callbacks that used in g_source_remove().
authorAndriy Grytsenko <andrej@rep.kiev.ua>
Wed, 19 Feb 2014 13:46:05 +0000 (15:46 +0200)
committerAndriy Grytsenko <andrej@rep.kiev.ua>
Wed, 19 Feb 2014 13:46:05 +0000 (15:46 +0200)
commit251cfd3e032a8f75dc23d42f45445c6ee48d2c60
tree00196b9f0be3b6c75eea1e287f735f4b00358fd8
parent537ec037b8cfbc06ae1a90e36d8dc1b48aedf858
Add mandatory checks into callbacks that used in g_source_remove().

If source is removed the most probably its data are freed so
running any job should be prohibited.
12 files changed:
src/plugins/batt/batt.c
src/plugins/cpu/cpu.c
src/plugins/cpufreq/cpufreq.c
src/plugins/dclock.c
src/plugins/monitors/monitors.c
src/plugins/netstat/netstat.c
src/plugins/netstatus/netstatus-dialog.c
src/plugins/netstatus/netstatus-iface.c
src/plugins/taskbar.c
src/plugins/thermal/thermal.c
src/plugins/tray.c
src/plugins/volumealsa/volumealsa.c