[gvfs] daemon: Add getter function for blocking state
- From: Christian Kellner <gicmo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] daemon: Add getter function for blocking state
- Date: Tue, 7 Jun 2011 12:36:07 +0000 (UTC)
commit ad431e0540bfe11fcdc79093bb29361b7d2250d4
Author: Christian Kellner <gicmo gnome org>
Date: Fri Jun 3 19:17:33 2011 +0200
daemon: Add getter function for blocking state
daemon/gvfsbackend.c | 7 +++++++
daemon/gvfsbackend.h | 1 +
2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/daemon/gvfsbackend.c b/daemon/gvfsbackend.c
index 1c2fb8a..ced4fd9 100644
--- a/daemon/gvfsbackend.c
+++ b/daemon/gvfsbackend.c
@@ -516,6 +516,13 @@ g_vfs_backend_set_block_requests (GVfsBackend *backend)
backend->priv->block_requests = TRUE;
}
+gboolean
+g_vfs_backend_get_block_requests (GVfsBackend *backend)
+{
+ return backend->priv->block_requests;
+}
+
+
static DBusHandlerResult
backend_dbus_handler (DBusConnection *connection,
DBusMessage *message,
diff --git a/daemon/gvfsbackend.h b/daemon/gvfsbackend.h
index 6c152ac..cd6c1ba 100644
--- a/daemon/gvfsbackend.h
+++ b/daemon/gvfsbackend.h
@@ -499,6 +499,7 @@ void g_vfs_backend_add_auto_info (GVfsBackend
const char *uri);
void g_vfs_backend_set_block_requests (GVfsBackend *backend);
+gboolean g_vfs_backend_get_block_requests (GVfsBackend *backend);
gboolean g_vfs_backend_has_blocking_processes (GVfsBackend *backend);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]