GDBus: make use of reliable async cancellation
authorRyan Lortie <desrt@desrt.ca>
Tue, 13 Mar 2012 20:41:57 +0000 (16:41 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Thu, 15 Mar 2012 18:01:35 +0000 (14:01 -0400)
commite3c7fdd7a47264c584f3f16e37d903a7d1f36f76
treed50b0c15e3dd8cf9eff60dcfe42df6845db82818
parent1c42b6b09213b3c5275a71bbcd7def9a19767b59
GDBus: make use of reliable async cancellation

Call g_simple_async_result_set_check_cancellable() after all
GSimpleAsyncResult creation in order to take advantage of the new
reliable cancellation feature.

The guarantee of reliable cancellation fixes a bug in dbusmenu (which
was already assuming that cancellation was reliable).  See this bug:
https://bugs.launchpad.net/ubuntu/+source/libdbusmenu/+bug/953562

https://bugzilla.gnome.org/show_bug.cgi?id=672013

Signed-off-by: David Zeuthen <davidz@redhat.com>
gio/gdbusaddress.c
gio/gdbusconnection.c
gio/gdbusprivate.c
gio/gdbusproxy.c