(4) move on_name_acquired functionality to on_bus_acquired
authorkremlin <ian@kremlin.cc>
Tue, 5 Aug 2014 02:03:58 +0000 (21:03 -0500)
committerkremlin <ian@kremlin.cc>
Tue, 5 Aug 2014 02:03:58 +0000 (21:03 -0500)
commit509599f043fd77c5eee595ebce117ff9e11a5324
tree62fa81c49a00cca2e20efede8f5f5cfa6b350a8a
parentc12c41f4eac2e4d7c3244af3c49735aeffd78e2d
(4) move on_name_acquired functionality to on_bus_acquired

work that was previously done in foo_on_name_acquired(), such as attaching
the interface to the name, is now done in foo_on_bus_acquired(), as GIO docs
suggest. this fixed a bug with logind failing to export, the name_acquired function
executed executed too late to export a big interface like logind.

fix some minor error msg/consistency stuff in hostnamed, merge across pals. builds
src/interfaces/hostnamed/hostnamed.c
src/interfaces/localed/localed.c
src/interfaces/logind/logind.c
src/interfaces/timedated/timedated.c