EDataBookFactory: Work around a GDBus name watching bug.
authorMatthew Barnes <mbarnes@redhat.com>
Thu, 15 Aug 2013 20:14:56 +0000 (16:14 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Thu, 15 Aug 2013 21:04:55 +0000 (17:04 -0400)
commit056325236e05cfde13f970cea775e3de6d3017e3
tree5ce4863e44faf4eb3da48db7b895bf7ad8f3d16b
parent4d6059c699986d07b414c904d7e1330f7bc32e8f
EDataBookFactory: Work around a GDBus name watching bug.

Calling g_bus_unwatch_name() from a GBusNameVanished callback will
corrupt the function arguments.  Work around this GDBus bug [1] by
unwatching the bus name last in the callback.

[1] https://bugzilla.gnome.org/706088
addressbook/libedata-book/e-data-book-factory.c