static MateVFSResult
do_close (MateVFSMethod *method,
	  MateVFSMethodHandle *method_handle,
	  MateVFSContext *context)
{
	PERFORM_OPERATION_NO_URI (close, mate_vfs_close_cancellable ((MateVFSHandle *) method_handle, context));
}
Exemplo n.º 2
0
/**
 * mate_vfs_close:
 * @handle: pointer to a #MateVFSHandle object.
 * 
 * Close file associated with @handle.
 * 
 * Return value: an integer representing the result of the operation.
 */
MateVFSResult
mate_vfs_close (MateVFSHandle *handle)
{
	return mate_vfs_close_cancellable (handle, NULL);
}