Casting error on the terminal

Opening options dialog would generate the following error on the
terminal, invalid cast from 'GtkComboBox' to 'GNCDateEdit' which was
traced back to the RelativeDateEntry block_signals function. The
returned value of the cast was not being used so was removed.
This commit is contained in:
Robert Fewell 2022-04-13 16:43:13 +01:00
parent 3fcaaef657
commit 6e8272b7b3

View File

@ -1248,7 +1248,6 @@ RelativeDateEntry::set_option_from_entry(GncOption& option)
void
RelativeDateEntry::block_signals(bool block)
{
auto entry{G_OBJECT(GNC_DATE_EDIT(m_entry)->date_entry)};
if (block)
g_signal_handler_block(m_entry, m_handler_id);
else