ECalClient: Create view objects in the D-Bus thread.
authorMatthew Barnes <mbarnes@redhat.com>
Wed, 27 Feb 2013 23:42:46 +0000 (18:42 -0500)
committerMatthew Barnes <mbarnes@redhat.com>
Thu, 28 Feb 2013 01:53:50 +0000 (20:53 -0500)
commitebcde635024cd486706507e57ef219b3ed8df974
tree042ea6236ae17c1f6e03dcd7e52e96b3bffdbf29
parent2fa55517d744ff0640e6487cf662a757764749e1
ECalClient: Create view objects in the D-Bus thread.

Flip-flop the sync/async implementations.  The view object should be
instantiated from the dedicated D-Bus thread so its underlying proxy
object shares the same main loop context as the client's proxy.

Have the view object schedule idle callbacks on the client object's
main loop context to emit change notification signals, so as not to
expose the dedicated D-Bus thread to external signal handlers.
calendar/libecal/e-cal-client-view.c
calendar/libecal/e-cal-client.c