use new create_filesystem() in format()

* src/GParted_Core.cc: use new create_filesystem() in format()
This commit is contained in:
Bart Hakvoort 2006-06-17 09:03:11 +00:00
parent 682283ce89
commit 3094aeaabe
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2006-06-17 Bart Hakvoort <hakvoort@cvs.gnome.org>
* src/GParted_Core.cc: use new create_filesystem() in format()
2006-06-17 Bart Hakvoort <hakvoort@cvs.gnome.org> 2006-06-17 Bart Hakvoort <hakvoort@cvs.gnome.org>
* cleanups in the core and the fs'es (create) * cleanups in the core and the fs'es (create)

View File

@ -691,10 +691,8 @@ bool GParted_Core::format( const Partition & partition, std::vector<OperationDet
//remove all filesystem signatures... //remove all filesystem signatures...
erase_filesystem_signatures( partition ) ; erase_filesystem_signatures( partition ) ;
set_proper_filesystem( partition .filesystem ) ;
return set_partition_type( partition, operation_details ) && return set_partition_type( partition, operation_details ) &&
p_filesystem ->Create( partition, operation_details ) ; create_filesystem( partition, operation_details ) ;
} }
bool GParted_Core::Delete( const Partition & partition, std::vector<OperationDetails> & operation_details ) bool GParted_Core::Delete( const Partition & partition, std::vector<OperationDetails> & operation_details )