"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "gnucash/gnome-utils/dialog-options.cpp" between
gnucash-5.0.tar.bz2 and gnucash-5.1.tar.bz2

About: GnuCash is personal and small-business financial-accounting software.

dialog-options.cpp  (gnucash-5.0.tar.bz2):dialog-options.cpp  (gnucash-5.1.tar.bz2)
skipping to change at line 628 skipping to change at line 628
} }
GncOptionsDialog::~GncOptionsDialog() GncOptionsDialog::~GncOptionsDialog()
{ {
if (m_destroying) if (m_destroying)
return; return;
m_destroying = true; m_destroying = true;
gnc_unregister_gui_component_by_data(m_component_class, this); gnc_unregister_gui_component_by_data(m_component_class, this);
g_signal_handlers_disconnect_by_func(m_window, (gpointer)dialog_destroy_cb, this); g_signal_handlers_disconnect_by_func(m_window, (gpointer)dialog_destroy_cb, this);
g_signal_handlers_disconnect_by_func(m_window, (gpointer)dialog_window_key_p ress_cb, this); g_signal_handlers_disconnect_by_func(m_window, (gpointer)dialog_window_key_p ress_cb, this);
m_option_db->foreach_section([](GncOptionSectionPtr& section)
{
section->foreach_option([](GncOption& option)
{
option.set_ui_item(std::unique_ptr<GncOptionUIItem>(nullptr));
});
});
g_object_unref(m_window); g_object_unref(m_window);
} }
void void
GncOptionsDialog::set_apply_cb(GncOptionsDialogCallback cb, gpointer data) noexc ept GncOptionsDialog::set_apply_cb(GncOptionsDialogCallback cb, gpointer data) noexc ept
{ {
m_apply_cb = cb; m_apply_cb = cb;
m_apply_cb_data = data; m_apply_cb_data = data;
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)