summaryrefslogtreecommitdiff
path: root/client/gvfsdaemondbus.h
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2012-06-15 17:24:42 +0200
committerTomas Bzatek <tbzatek@redhat.com>2012-07-31 11:59:37 +0200
commit89a881c5bf8fcbaf027e276a302aefc11f8fca34 (patch)
tree3b6fbd0f38d0e657d1988b4139f84148097fd4ce /client/gvfsdaemondbus.h
parent36635d44502b5c4e8f7e1341ad9ec912bb822e0d (diff)
downloadgvfs-89a881c5bf8fcbaf027e276a302aefc11f8fca34.tar.gz
gdbus: Make cancellation work
This mimics the old behaviour and works for sync and async. Requires new glib for g_dbus_connection_get_last_serial().
Diffstat (limited to 'client/gvfsdaemondbus.h')
-rw-r--r--client/gvfsdaemondbus.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/client/gvfsdaemondbus.h b/client/gvfsdaemondbus.h
index d1cd6660..eedf1d8b 100644
--- a/client/gvfsdaemondbus.h
+++ b/client/gvfsdaemondbus.h
@@ -64,6 +64,12 @@ void _g_simple_async_result_complete_with_cancellable
(GSimpleAsyncResult *result,
GCancellable *cancellable);
+gulong _g_dbus_async_subscribe_cancellable (GDBusConnection *connection,
+ GCancellable *cancellable);
+void _g_dbus_async_unsubscribe_cancellable (GCancellable *cancellable,
+ gulong cancelled_tag);
+void _g_dbus_send_cancelled_sync (GDBusConnection *connection);
+
G_END_DECLS
#endif /* __G_VFS_DAEMON_DBUS_H__ */