diff options
author | Alexander Larsson <alexl@src.gnome.org> | 2007-09-13 09:19:20 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2007-09-13 09:19:20 +0000 |
commit | 09128a772f8a8aba37483a3d26d4385feb59dec2 (patch) | |
tree | c1729419b6a7b62ee9d4b6d35b23a470c0fae85a /daemon/gvfsdaemon.h | |
parent | de4c48d508f93a98f77406d7ae9491b3b534c40b (diff) | |
download | gvfs-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.h | 10 |
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; |