EDataCalFactory: Always watch sender's bus name.
authorMatthew Barnes <mbarnes@redhat.com>
Thu, 15 Aug 2013 19:30:54 +0000 (15:30 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Thu, 15 Aug 2013 21:04:55 +0000 (17:04 -0400)
commitee2b94df4b153f9f376dc7f44501874af05012df
tree1f4a88c805ccac34ec78c86d25099c17a7ca6414
parent056325236e05cfde13f970cea775e3de6d3017e3
EDataCalFactory: Always watch sender's bus name.

Watch the sender's bus name on every new connection so we can clean up
its connections if the bus name vanishes (e.g. client program crashes).

Previously we were only watching the sender's bus name if the backend
instance was created for that connection, but that was unintentional.
calendar/libedata-cal/e-data-cal-factory.c