From 707aaea56fe1d5d4931e3ebd95faf4e1c4ca3305 Mon Sep 17 00:00:00 2001 From: Mike Fleetwood Date: Sat, 30 Mar 2019 12:28:11 +0000 Subject: [PATCH] Remove now unused Dialog_Progress::signal_get_libparted_version (!34) ... and related GParted_Core::get_libparted_version() method. Closes !34 - Display more version and configuration information --- include/Dialog_Progress.h | 3 +-- include/GParted_Core.h | 1 - src/GParted_Core.cc | 6 +----- src/Win_GParted.cc | 2 -- 4 files changed, 2 insertions(+), 10 deletions(-) diff --git a/include/Dialog_Progress.h b/include/Dialog_Progress.h index 1d272be1..7847376d 100644 --- a/include/Dialog_Progress.h +++ b/include/Dialog_Progress.h @@ -41,8 +41,7 @@ public: ~Dialog_Progress(); sigc::signal< bool, Operation * > signal_apply_operation ; - sigc::signal< Glib::ustring > signal_get_libparted_version ; - + private: void on_signal_update( const OperationDetail & operationdetail ) ; void update_gui_elements() ; diff --git a/include/GParted_Core.h b/include/GParted_Core.h index e740a34d..f598651d 100644 --- a/include/GParted_Core.h +++ b/include/GParted_Core.h @@ -66,7 +66,6 @@ public: const FS & get_fs( FSType filesystem ) const; static std::vector get_disklabeltypes() ; std::map get_available_flags( const Partition & partition ) ; - Glib::ustring get_libparted_version() ; Glib::ustring get_thread_status_message() ; static FileSystem * get_filesystem_object( FSType fstype ); diff --git a/src/GParted_Core.cc b/src/GParted_Core.cc index f9f0fff8..74e15c74 100644 --- a/src/GParted_Core.cc +++ b/src/GParted_Core.cc @@ -860,11 +860,7 @@ std::map GParted_Core::get_available_flags( const Partition return flag_info ; } - -Glib::ustring GParted_Core::get_libparted_version() -{ - return ped_get_version() ; -} + //private functions... diff --git a/src/Win_GParted.cc b/src/Win_GParted.cc index 26e73025..621ffd1f 100644 --- a/src/Win_GParted.cc +++ b/src/Win_GParted.cc @@ -3421,8 +3421,6 @@ void Win_GParted::activate_apply() dialog_progress .set_transient_for( *this ) ; dialog_progress .signal_apply_operation .connect( sigc::mem_fun(gparted_core, &GParted_Core::apply_operation_to_disk) ) ; - dialog_progress .signal_get_libparted_version .connect( - sigc::mem_fun(gparted_core, &GParted_Core::get_libparted_version) ) ; int response ; do