gparted/src
Mike Fleetwood 80d6394684 Remove deprecated Glib::thread_init() (!22)
Use of Glib::thread_init() was deprecated in glibmm 2.32 [1].  The
oldest supported distributions have these versions:
    Debian 8           glibmm 2.42.0
    RHEL / CentOS 7    glibmm 2.56.0
    SLES 12            glibmm 2.38.1
    Ubuntu 14.04 LTS   glibmm 2.39.93

Checking further the glibmm 2.32 reference manual says this about
Glib::thread_init() [2]:
    Initializes the GLib thread system.

    Deprecated:
    Calling thread_init() is no longer necessary and no longer has any
    effect.

However only some of the glibmm example programs had Glib::thread_init()
removed, others had it replaced by Glib::init() [3].  Again the glibmm
2.32 reference manual says this about Glib::init() [4]:
    Initialize glibmm.

    You may call this more than once.  You do not need to call this if
    you are using Glib::MainLoop or Gtk::Main, because they call it for
    you.

GParted does call Gtk::Main and test_PipeCapture does call
Glib::MainLoop.  Therefore just raise the minimum version to glibmm 2.32
and remove both calls to Glib::thread_init().

[1] Glibmm 2.32 NEWS file
    https://gitlab.gnome.org/GNOME/glibmm/blob/2.32.0/NEWS#L207

[2] glibmm 2.32, glibmm: Glib Namespace Reference, Glib::thread_init()
    https://developer.gnome.org/glibmm/2.32/namespaceGlib.html#ab26d01c776801f1fff00753e97af4fc7

[3] glibmm commit "Avoid use of deprecates API in tests and examples."
    3e0fbb22c0

[4] glibmm 2.32, glibmm: Glib Namespace Reference, Glib::init()
    https://developer.gnome.org/glibmm/2.32/namespaceGlib.html#ac90aee10d0b90e3d8a96a86b5394f87b

Closes !22 - Increase minimums to libparted 2.2 and glibmm 2.32
2019-01-21 16:41:31 +00:00
..
BlockSpecial.cc Include sys/sysmacros.h for major and minor macros (#776173) 2017-01-04 10:58:44 +00:00
CopyBlocks.cc Match up OperationDetail creation and status setting for internal copy (#790842) 2017-12-11 13:53:09 -07:00
DMRaid.cc Strip unnecessary scope from GParted::TYPE_* (!20) 2018-11-26 17:56:32 +00:00
Device.cc Remove "../include/" from GParted header #includes 2016-12-12 13:15:34 -07:00
DialogFeatures.cc Display "other" in the File System Support dialog (!13) 2018-09-17 15:36:09 +00:00
DialogManageFlags.cc Remove "../include/" from GParted header #includes 2016-12-12 13:15:34 -07:00
DialogPasswordEntry.cc Clear previous LUKS unlock failure error before next attempt (#795617) 2018-06-19 10:54:48 -06:00
Dialog_Base_Partition.cc modern-gtk2: Use Cairo for drawing the partition resizer (!17) 2018-11-12 21:50:42 +00:00
Dialog_Disklabel.cc modern-gtk2: Use Gtk::ComboBoxText::append() (!17) 2018-11-12 21:50:42 +00:00
Dialog_FileSystem_Label.cc Simplify from Gtk::Table to HBox in FileSystem Label dialog 2018-06-18 10:15:33 -06:00
Dialog_Partition_Copy.cc Strip unnecessary scope from GParted::FS_* (!20) 2018-11-26 17:56:32 +00:00
Dialog_Partition_Info.cc Strip unnecessary scope from GParted::STAT_* (!20) 2018-11-26 17:56:32 +00:00
Dialog_Partition_Name.cc Simplify from Gtk::Table to HBox in Partition Name dialog 2018-06-18 10:15:33 -06:00
Dialog_Partition_New.cc Strip unnecessary scope from GParted::TYPE_* (!20) 2018-11-26 17:56:32 +00:00
Dialog_Partition_Resize_Move.cc Strip unnecessary scope from GParted::TYPE_* (!20) 2018-11-26 17:56:32 +00:00
Dialog_Progress.cc modern-gtk2: Use Gtk::AlignmentEnum::ALIGN_START (!17) 2018-11-12 21:50:42 +00:00
Dialog_Rescue_Data.cc Strip unnecessary scope from GParted::TYPE_* (!20) 2018-11-26 17:56:32 +00:00
DrawingAreaVisualDisk.cc Strip unnecessary scope from GParted::TYPE_* (!20) 2018-11-26 17:56:32 +00:00
FS_Info.cc Correctly quote and escape arguments passed to external commands (#787203) 2017-09-21 20:00:26 +01:00
FileSystem.cc Make get_custom_text() and get_generic_text() return by reference 2018-06-18 10:15:33 -06:00
Frame_Resizer_Base.cc Put Frame_Resizer_{Base,Extended} modules into GParted namespace (!20) 2018-11-26 17:56:32 +00:00
Frame_Resizer_Extended.cc Put Frame_Resizer_{Base,Extended} modules into GParted namespace (!20) 2018-11-26 17:56:32 +00:00
GParted_Core.cc Increase minimum required libparted to 2.2 (!22) 2019-01-21 16:41:31 +00:00
HBoxOperations.cc Remove "../include/" from GParted header #includes 2016-12-12 13:15:34 -07:00
LUKS_Info.cc Update comment with example LUKS_Info cache entry 2017-05-21 09:44:20 -06:00
LVM2_PV_Info.cc Remove "../include/" from GParted header #includes 2016-12-12 13:15:34 -07:00
Makefile.am modern-gtk2: Introduce OptionComboBox class (!17) 2018-11-12 21:50:42 +00:00
Mount_Info.cc Disallow resizing btrfs if any of it's mount points are read-only (#10) 2018-09-20 16:30:15 +00:00
Operation.cc Create and use general find_extended_partition() function 2017-01-14 08:49:58 -07:00
OperationChangeUUID.cc Implement new UUID operation on encrypted file systems (#774818) 2017-01-14 08:49:58 -07:00
OperationCheck.cc Implement check operation on encrypted file systems (#774818) 2017-01-14 08:49:58 -07:00
OperationCopy.cc Remove "../include/" from GParted header #includes 2016-12-12 13:15:34 -07:00
OperationCreate.cc Strip unnecessary scope from GParted::TYPE_* (!20) 2018-11-26 17:56:32 +00:00
OperationDelete.cc Strip unnecessary scope from GParted::TYPE_* (!20) 2018-11-26 17:56:32 +00:00
OperationDetail.cc Make OperationDetail no_more_children bug message translatable (#790842) 2017-12-04 13:32:21 -07:00
OperationFormat.cc Switch from whole_device flag to TYPE_UNPARTITIONED (#788308) 2017-10-03 08:22:19 -06:00
OperationLabelFileSystem.cc Implement label operation on encrypted file systems (#774818) 2017-01-14 08:49:58 -07:00
OperationNamePartition.cc Remove "../include/" from GParted header #includes 2016-12-12 13:15:34 -07:00
OperationResizeMove.cc Strip unnecessary scope from GParted::TYPE_* (!20) 2018-11-26 17:56:32 +00:00
OptionComboBox.cc modern-gtk2: Delay construction of Gtk::TreeModel* objects (!17) 2018-11-12 21:50:42 +00:00
Partition.cc Strip unnecessary scope from GParted::STAT_* (!20) 2018-11-26 17:56:32 +00:00
PartitionLUKS.cc Rename enum FILESYSTEM to FSType 2018-01-28 10:09:35 -07:00
PartitionVector.cc Create and use general find_extended_partition() function 2017-01-14 08:49:58 -07:00
PasswordRAMStore.cc Fix null pointer check accidentally disabled (#796293) 2018-05-21 13:37:01 +01:00
PipeCapture.cc Further improve speed of PipeCapture for non-watched output (#777973) 2017-06-02 11:47:35 -06:00
Proc_Partitions_Info.cc Remove "../include/" from GParted header #includes 2016-12-12 13:15:34 -07:00
ProgressBar.cc Remove "../include/" from GParted header #includes 2016-12-12 13:15:34 -07:00
SWRaid_Info.cc Pass string literals directly to execute_command() 2017-09-25 09:25:17 -06:00
TreeView_Detail.cc Strip unnecessary scope from GParted::TYPE_* (!20) 2018-11-26 17:56:32 +00:00
Utils.cc Improve translation help for "unformatted" file system type 2018-11-12 13:53:04 -07:00
Win_GParted.cc Recognise contribution by Luca Bacci 2018-11-12 21:50:42 +00:00
btrfs.cc Strip unnecessary scope from GParted::FS::* (!20) 2018-11-26 17:56:32 +00:00
exfat.cc Move struct FS and FS_Limits into FileSystem.h 2018-01-28 10:09:35 -07:00
ext2.cc Re-add getting EXT2/3/4 free space from dumpe2fs as a fallback (#8) 2018-08-01 19:03:01 +01:00
f2fs.cc Strip unnecessary scope from GParted::FS::* (!20) 2018-11-26 17:56:32 +00:00
fat16.cc Strip unnecessary scope from GParted::FS::* (!20) 2018-11-26 17:56:32 +00:00
hfs.cc Strip unnecessary scope from GParted::FS::* (!20) 2018-11-26 17:56:32 +00:00
hfsplus.cc Strip unnecessary scope from GParted::FS::* (!20) 2018-11-26 17:56:32 +00:00
jfs.cc Strip unnecessary scope from GParted::FS::* (!20) 2018-11-26 17:56:32 +00:00
linux_swap.cc Strip unnecessary scope from GParted::FS::* (!20) 2018-11-26 17:56:32 +00:00
luks.cc Set FSType when constructing FS in luks::get_filesystem_support() 2018-07-19 19:26:30 +00:00
lvm2_pv.cc Fix LVM2 PV shrinking with lvm2 2.02.171 and later (#1) 2018-06-21 20:04:18 +01:00
main.cc Remove deprecated Glib::thread_init() (!22) 2019-01-21 16:41:31 +00:00
minix.cc Add support for minix file system (!12) 2018-08-24 20:22:08 +01:00
nilfs2.cc Strip unnecessary scope from GParted::FS::* (!20) 2018-11-26 17:56:32 +00:00
ntfs.cc Strip unnecessary scope from GParted::FS::* (!20) 2018-11-26 17:56:32 +00:00
reiser4.cc Strip unnecessary scope from GParted::FS::* (!20) 2018-11-26 17:56:32 +00:00
reiserfs.cc Strip unnecessary scope from GParted::FS::* (!20) 2018-11-26 17:56:32 +00:00
udf.cc Move struct FS and FS_Limits into FileSystem.h 2018-01-28 10:09:35 -07:00
xfs.cc Strip unnecessary scope from GParted::FS::* (!20) 2018-11-26 17:56:32 +00:00