xdg-autostart: minor refactoring
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 9 Jul 2021 12:31:04 +0000 (14:31 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 9 Jul 2021 13:07:40 +0000 (15:07 +0200)
commit2744c7bb0176dc6b86a69acd4c449ea9e269e097
tree4cd47d73322d7f0ab26ea8c5ee8045fe076b8b5c
parent12d729b2ec6b3f4a7b014b3ba47444f7eb6e335a
xdg-autostart: minor refactoring

We can't say free_and_replace(exec_split[n++], quoted), because the the
argument is evaluated multiple times. But I think that this form is
still easier to read.
src/xdg-autostart-generator/xdg-autostart-service.c