summaryrefslogtreecommitdiff
path: root/daemon/gvfsdaemon.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@src.gnome.org>2007-09-13 09:19:20 +0000
committerAlexander Larsson <alexl@src.gnome.org>2007-09-13 09:19:20 +0000
commit09128a772f8a8aba37483a3d26d4385feb59dec2 (patch)
treec1729419b6a7b62ee9d4b6d35b23a470c0fae85a /daemon/gvfsdaemon.h
parentde4c48d508f93a98f77406d7ae9491b3b534c40b (diff)
downloadgvfs-09128a772f8a8aba37483a3d26d4385feb59dec2.tar.gz
Pass GErrors sanely over dbus
Use GVfsReadRequest for read op Original git commit by Alexander Larsson <alex@localhost.localdomain> at 1161263233 +0200 svn path=/trunk/; revision=114
Diffstat (limited to 'daemon/gvfsdaemon.h')
-rw-r--r--daemon/gvfsdaemon.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/daemon/gvfsdaemon.h b/daemon/gvfsdaemon.h
index 81631299..f43d4224 100644
--- a/daemon/gvfsdaemon.h
+++ b/daemon/gvfsdaemon.h
@@ -2,6 +2,7 @@
#define __G_VFS_DAEMON_H__
#include <glib-object.h>
+#include <gvfsreadrequest.h>
G_BEGIN_DECLS
@@ -28,11 +29,10 @@ struct _GVfsDaemonClass
GObjectClass parent_class;
/* vtable */
-
- void (*read_file) (GVfsDaemon *daemon,
- DBusMessage *reply,
- const char *path,
- int *fd_out);
+
+ GVfsReadRequest * (*read_file) (GVfsDaemon *daemon,
+ const char *path,
+ GError **error);
};
GType g_vfs_daemon_get_type (void) G_GNUC_CONST;