[gparted] Remove unused function copy_filesystem_simulation()



commit 6c33a8f5ca5448461e9d698d3e5fa13c8da46449
Author: Mike Fleetwood <mike fleetwood googlemail com>
Date:   Sat Mar 16 21:25:58 2013 +0000

    Remove unused function copy_filesystem_simulation()
    
    The function is no longer used after commit:
    
        b9b4b2e55d1dadd5a5c0fef552dbbd2499561182
        Remove simulation pass ( read test ) on move

 include/GParted_Core.h |    3 ---
 src/GParted_Core.cc    |   12 ------------
 2 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/include/GParted_Core.h b/include/GParted_Core.h
index 25b5378..50b1bda 100644
--- a/include/GParted_Core.h
+++ b/include/GParted_Core.h
@@ -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,
diff --git a/src/GParted_Core.cc b/src/GParted_Core.cc
index dc1826a..40d5b54 100644
--- a/src/GParted_Core.cc
+++ b/src/GParted_Core.cc
@@ -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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]