Fix a crash caused by using the old JobRemoved signature in JobManager
authorJannis Pohlmann <jannis.pohlmann@codethink.co.uk>
Sat, 28 Jul 2012 15:27:08 +0000 (16:27 +0100)
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>
Sat, 28 Jul 2012 15:27:08 +0000 (16:27 +0100)
commit8dd0b121add44e5a7ba7b5330c784b615b001ee5
tree34d693948e18505b59415fa4fff53aef7e759a5e
parent11e0ee8647fa4014b91370fee7b107e268ee4378
Fix a crash caused by using the old JobRemoved signature in JobManager

The signature of the JobRemoved signal recently changed in systemd, when
a new "unit" parameter was added. This commit changes the JobManager to
include this parameter in its JobRemoved handler and thereby avoids
segmentation faults caused by assuming fourth parameter is a JobManager
object.
boot-manager/job-manager.c