mirror of
https://gitlab.gnome.org/GNOME/gparted
synced 2024-11-05 20:46:55 +00:00
Remove unused function copy_filesystem_simulation()
The function is no longer used after commit:
b9b4b2e55d
Remove simulation pass ( read test ) on move
This commit is contained in:
parent
a39079211b
commit
6c33a8f5ca
2 changed files with 0 additions and 15 deletions
|
@ -140,9 +140,6 @@ private:
|
|||
Partition & partition_dst,
|
||||
Byte_Value min_size,
|
||||
OperationDetail & operationdetail ) ;
|
||||
bool copy_filesystem_simulation( const Partition & partition_src,
|
||||
const Partition & partition_dst,
|
||||
OperationDetail & operationdetail ) ;
|
||||
bool copy_filesystem( const Partition & partition_src,
|
||||
const Partition & partition_dst,
|
||||
OperationDetail & operationdetail,
|
||||
|
|
|
@ -2654,18 +2654,6 @@ bool GParted_Core::copy( const Partition & partition_src,
|
|||
return false ;
|
||||
}
|
||||
|
||||
bool GParted_Core::copy_filesystem_simulation( const Partition & partition_src,
|
||||
const Partition & partition_dst,
|
||||
OperationDetail & operationdetail )
|
||||
{
|
||||
operationdetail .add_child( OperationDetail( _("perform read-only test") ) ) ;
|
||||
|
||||
bool succes = copy_filesystem( partition_src, partition_dst, operationdetail .get_last_child(), true, true ) ;
|
||||
|
||||
operationdetail .get_last_child() .set_status( succes ? STATUS_SUCCES : STATUS_ERROR ) ;
|
||||
return succes ;
|
||||
}
|
||||
|
||||
bool GParted_Core::copy_filesystem( const Partition & partition_src,
|
||||
const Partition & partition_dst,
|
||||
OperationDetail & operationdetail,
|
||||
|
|
Loading…
Reference in a new issue